You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,6 @@ Use NPM to install the module in your project and build using a tool like webpac
14
14
npm install react-bootstrap-typeahead
15
15
```
16
16
17
-
Make sure you have the appropriate CSS loaders ([see notes below](#css)).
18
-
19
17
To generate UMD modules, both minified and unminified, download the project and run `npm run build`.
20
18
21
19
## Usage
@@ -87,9 +85,7 @@ Allows you to control the contents of a menu item. Your function will be passed
87
85
```
88
86
89
87
## CSS
90
-
The component tries to use as little CSS as possible, relying primarily on Bootstrap or any Bootstrap themes for styling. There is a small amount, which is bundled with the JS files.
91
-
92
-
Browserify users will need to use [browserify-css](https://www.npmjs.com/package/browserify-css) (or something similar) to handle the CSS bundling, while Webpack user will need to use [css-loader](https://www.npmjs.com/package/css-loader) and/or [style-loader](https://www.npmjs.com/package/style-loader) in their webpack config file.
88
+
The component tries to use as little CSS as possible, relying primarily on Bootstrap or any Bootstrap themes for styling. Some minimal styling is included in `Typeahead.css` and `Token.css` and should ideally be included wherever you're using the component.
93
89
94
90
## Example
95
91
An example file is included with the NPM module. Simply open `example/index.html` in a browser. If you're using the repository code, you'll need to run `npm run example` to build the example index file. You can then open the HTML file as described above. You can also try the [live example](http://ericgio.github.io/react-bootstrap-typeahead/).
0 commit comments