Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 1.26 KB

ThemeProvider

orbit-components has theming support via our own <ThemeProvider> which adds you possibilities to add your own theme and dictionary.

import ThemeProvider from "@kiwicom/orbit-components/lib/ThemeProvider";

After adding import please wrap your application into ThemeProvider and you can provide your own theme and dictionary

<ThemeProvider theme={...} dictionary={...}>
  <App />
</ThemeProvider>

Props

Table below contains all types of the props available in the ThemeProvider component.

Name Type Default Description
children React.Node Your app
theme [Object] See theming
dictionary [Object] See dictionary
You can’t perform that action at this time.