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
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -355,11 +355,7 @@ class MyComponent extends Component {
355
355
```
356
356
357
357
## Theming
358
-
Under Development
359
-
360
-
The curent default Theme is very "material". Near term plans are to have 3 built-in prop selectable themes (none, bootstrap, material).
361
-
362
-
You can override or replace the current theme using the `customTheme` prop
358
+
You can override or replace the default theme using the `customTheme` prop. Internally, this just deep merges your theme with the default theme.
363
359
364
360
For Example:
365
361
@@ -384,21 +380,18 @@ class MyComponent extends Component {
384
380
);
385
381
```
386
382
387
-
Refer to [Default Theme](https://github.com/jbetancur/react-data-table-component/blob/master/src/themes/default.js) for reference
383
+
Refer to [Default Theme](https://github.com/jbetancur/react-data-table-component/blob/master/src/themes/default.js) for reference and avaiilable properties to override
Install the latest [Node JS LTS](https://nodejs.org/) and [Yarn](https://yarnpkg.com) and simply run ```yarn``` or ```yarn install``` command in the root and stories directory.
399
393
400
394
## Installing Flow Types
401
-
402
395
Install flowtypes using the package script:
403
396
```sh
404
397
yarn flow-typed
@@ -407,7 +400,6 @@ yarn flow-typed
407
400
> It is advised to run the script whenever NPM packages are installed.
0 commit comments