UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

10 lines (9 loc) 470 B
import { ReactNode } from 'react'; import { BottomSheetConfig, BottomSheetContextType, BottomSheetRenderProps } from './bottom-sheet-type.ts'; export declare const BottomSheetContext: import('react').Context<BottomSheetContextType | null>; export declare const useBottomSheet: () => { open: (render: (props: BottomSheetRenderProps) => ReactNode, config?: BottomSheetConfig) => string; close: () => void; isOpen: boolean; activeSheetId: string | null; };