Skip to content

Commit

Permalink
Merge pull request #366 from jxnblk/v2
Browse files Browse the repository at this point in the history
V2
  • Loading branch information
jxnblk authored Feb 19, 2018
2 parents 8c856a2 + 4d47b94 commit a75725b
Show file tree
Hide file tree
Showing 222 changed files with 3,692 additions and 5,337 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"presets": [
"env",
"stage-0",
"react"
]
}
8 changes: 5 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ Please **be nice** and read the following before contributing.
Folders:
- `/src` source code
- `/tests` tests, including snapshots
- `/stories` stories for React Storybook
- `/docs` source for the documentation/demo site

### Source Code

All exports are handled in `src/index.js`.
The component styles and configuration is in `src/components.js`, which is passed to `src/create-library.js` to export the components.
The `src/create-component.js` function tags a component configuration object and returns a React styled component, adding two higher order components in the process.
Each component is its own module in the `src/` folder.
Be sure to familiarize yourself with
[styled-system](https://github.com/jxnblk/styled-system)
before making changes.


### Tests

Expand Down
Loading

0 comments on commit a75725b

Please sign in to comment.