Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.13 KB

customizingStyles.md

File metadata and controls

23 lines (15 loc) · 1.13 KB

Customizing Classes and Styles

React virtual CSS styles are split into split into their own, separately loaded stylesheet in order to simplify universal/isomorphic usage while also enabling styles to be customized. This stylesheet should be imported somewhere (usually during bootstrapping) like so:

import 'react-virtualized/styles.css';

You can also customize component styles.

Forked Styles

Fork the react-virtualized styles.css file and load your own, totally custom styles.

Global CSS

Load an additional, external CSS file that defines global classes (eg. FlexTable, FlexTable__row) to append to default inline styles.

Learn more about which class names a component supports in the API docs.

CSS Modules

If you are using CSS modules you can specify custom class names to be appended to a component instance (eg. FlexTable supports className, headerClassName, and rowClassName properties).

Learn more about which class names are supported in the API docs.