UNPKG

@procore/core-react

Version:
7 lines (6 loc) 566 B
import React from 'react'; import type { Props } from '../_utils/types'; import type { SplitViewCardInternalContextAPI } from './SplitViewCard.types'; export declare const SplitViewCardInternalContext: React.Context<SplitViewCardInternalContextAPI>; export declare const SplitViewCardInternalContextProvider: ({ ariaLabelledBy, children, isClosable, }: React.PropsWithChildren<Props & Pick<SplitViewCardInternalContextAPI, 'ariaLabelledBy' | 'isClosable'>>) => React.JSX.Element; export declare const useSplitViewCardInternal: () => SplitViewCardInternalContextAPI;