@vnmfify/core
Version:
```shell npm i @vnmfify/core -S ```
25 lines (24 loc) • 887 B
TypeScript
/// <reference types="react" />
import Popup from "../popup";
import { SheetProps } from "./sheet";
import SheetButton from "./sheet-button";
import SheetHeader from "./sheet-header";
import SheetItem from "./sheet-item";
import { SheetItemObject } from "./sheet.shared";
export type { SheetProps } from "./sheet";
export type { SheetHeaderProps } from "./sheet-header";
export type { SheetItemProps } from "./sheet-item";
export type { SheetButtonProps } from "./sheet-button";
export { default as useSheetProps } from "./use-sheet-props";
interface SheetInterface {
(props: SheetProps): JSX.Element;
Backdrop: typeof Popup.Backdrop;
Header: typeof SheetHeader;
Item: typeof SheetItem;
Button: typeof SheetButton;
}
declare const Sheet: SheetInterface;
declare namespace Sheet {
type ItemObject = SheetItemObject;
}
export default Sheet;