Update install.md
Incorrect import of a Raw Component w.r.t theming. See https://github.com/react-toolbox/react-toolbox/issues/654old
parent
9c4a48597a
commit
42feb7fd0c
|
@ -134,7 +134,7 @@ Remember that you can import components without styles and provide those styles
|
|||
Then, when you use a button you can inject the appropriated theme:
|
||||
|
||||
```js
|
||||
import { Button } from 'react-toolbox/lib/button/Button';
|
||||
import Button from 'react-toolbox/lib/button/Button';
|
||||
import buttonTheme from './theme/button.scss';
|
||||
|
||||
const ThemedButton = (props) => (
|
||||
|
|
Loading…
Reference in New Issue