@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
19 lines (18 loc) • 455 B
TypeScript
import * as React from "react";
import type { Props } from "./types";
/**
*
* Use OrbitProvider with useId prop as follows to still use `react-uid`:
* ```jsx
<UIDReset>
<UIDFork>
<OrbitProvider theme={theme} useId={useUID}>
{children}
</OrbitProvider>
</UIDFork>
</UIDReset>
* ```
*
*/
declare const OrbitProvider: ({ theme, children, useId }: Props) => React.JSX.Element;
export default OrbitProvider;