@launchdarkly/react-native-client-sdk
Version:
React Native LaunchDarkly SDK
18 lines • 662 B
TypeScript
import { PropsWithChildren } from 'react';
import ReactNativeLDClient from '../ReactNativeLDClient';
type LDProps = {
client: ReactNativeLDClient;
};
/**
* This is the LaunchDarkly Provider which uses the React context api to store
* and pass data to child components through hooks.
*
* @param client The ReactNativeLDClient object. Initialize this object separately
* and then set this prop when declaring the LDProvider.
* @param children
*
* @constructor
*/
declare const LDProvider: ({ client, children }: PropsWithChildren<LDProps>) => import("react/jsx-runtime").JSX.Element;
export default LDProvider;
//# sourceMappingURL=LDProvider.d.ts.map