OrbitProvider

React

OrbitProvider

import OrbitProvider from "@kiwicom/orbit-components/lib/OrbitProvider";
<OrbitProvider useId={React.useId} theme={ownTheme}>
<App />
</OrbitProvider>

Props

NameTypeDefaultDescription
childrenReact.NodeYour app
theme[Object]See theming
useId[Object]If using React 18 or above, use React.useId. If not, use useRandomId from react-uid.