@nipe-solutions/react-spring-bottom-sheet
Version:
Accessible and composable bottom sheets for React
10 lines (9 loc) • 405 B
TypeScript
import type { HTMLAttributes, ReactElement, Ref } from 'react';
interface SlotChildProps extends HTMLAttributes<HTMLElement> {
ref?: Ref<HTMLElement>;
}
export interface SlotProps extends HTMLAttributes<HTMLElement> {
children: ReactElement<SlotChildProps>;
}
export declare const Slot: import("react").ForwardRefExoticComponent<SlotProps & import("react").RefAttributes<HTMLElement>>;
export {};