OrbitProvider

Provides theming and a set of Orbit features

React

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.

NameTypeDefaultDescription
childrenReact.NodeYour app
theme[Object]See theming
dictionary[Object]See dictionary