OrbitProvider
orbit-components has theming support via our own <OrbitProvider>
which adds you possibilities to add your own theme and dictionary.
import OrbitProvider from "@kiwicom/orbit-components/lib/OrbitProvider";
After adding import please wrap your application into OrbitProvider
and you can provide your own theme
and dictionary
<OrbitProvider theme={ownTheme} dictionary={ownDictionary}><App /></OrbitProvider>
Props
Table below contains all types of the props available in the OrbitProvider component.
Name | Type | Default | Description |
---|---|---|---|
children | React.Node | Your app | |
theme | [Object] | See theming | |
dictionary | [Object] | See dictionary |