diff --git a/README.md b/README.md index 38738da..9b3563e 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ * inline: true */ import Mentions from 'rc-mentions'; +// Import the default styles +import './index.less'; const { Option } = Mentions; @@ -65,6 +67,8 @@ var Demo = ( React.render(, container); ``` +**Note:** We use [index.less](https://github.com/react-component/mentions/blob/master/assets/index.less) for styling, you can convert them into css and properly reference them to the code above. + ## API ### Mentions props