Skip to content

Commit

Permalink
Docs: Add Fela example
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Aug 7, 2017
1 parent 63b3369 commit df1a321
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/Thirdparties.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ module.exports = {

*Based on @mikberg’s [blog post](https://medium.com/@mikaelberg/writing-simple-unit-tests-with-relay-707f19e90129).*


### Styled Components

The [recommended way](https://github.com/styleguidist/react-styleguidist/issues/37#issuecomment-263502454) of using [Styled Components](https://www.styled-components.com/) is like this:
Expand All @@ -164,6 +163,10 @@ export default function Button({ children, ...props }) {
}
```

### Fela

Check out the [official example](https://github.com/rofrischmann/fela/tree/master/packages/example-with-styleguidist).

### CSS Modules with react-css-modules

You need to export two components: (1) unstyled React component as named export and (2) enhanced component as a default export:
Expand Down

0 comments on commit df1a321

Please sign in to comment.