@base-ui/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
6 lines • 480 B
TypeScript
import * as React from 'react';
import { PreviewCardStore } from "../store/PreviewCardStore.js";
export type PreviewCardRootContext<Payload = unknown> = PreviewCardStore<Payload>;
export declare const PreviewCardRootContext: React.Context<PreviewCardRootContext<unknown> | undefined>;
export declare function usePreviewCardRootContext(optional?: false): PreviewCardRootContext;
export declare function usePreviewCardRootContext(optional: true): PreviewCardRootContext | undefined;