@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
18 lines (17 loc) • 441 B
TypeScript
/**
* Lib Provider
*
*/
import React from 'react';
import { ContextProps } from './Context';
export type ProviderProps = {
/**
* Send in an object that gets spread as properties to the Provider
*/
value?: ContextProps;
/**
* The content
*/
children: React.ReactNode;
} & ContextProps;
export default function Provider<Props>(localProps: ProviderProps & Props): import("react/jsx-runtime").JSX.Element;