@uifabric/mdl2-theme
v0.4.0@uifabric/mdl2-theme
MDL2 Theme package for Fluent UI React (formerly Office UI Fabric React)
This package contains MDL2 coloring, theming and styling for use with Fluent UI React components.
To import MDL2 theme:
import { MDL2Theme, MDL2Customizations } from '@uifabric/mdl2-theme';
In case of applying theme using Customizer
:
import { Customizer } from '@fluentui/react';
<Customizer {...MDL2Customizations}>
<div>{child component}</div>
</Customizer>
In case of applying theme using ThemeProvider
:
import { ThemeProvider } from '@fluentui/react-theme-provider';
<ThemeProvider theme={MDL2Theme}>
<div>{child component}</div>
</ThemeProvider>
npm i @uifabric/[email protected]
Metadata
- MIT
- Whatever
- Unknown
- released 12/15/2020