UNPKG

@cainthus/alex-library

Version:

Component React library for Cainthus - Alex Dashboard.

17 lines (14 loc) 296 B
import { ReactNode, CSSProperties } from "react"; export type Props = { className?: string; style?: CSSProperties; render(args: { open: () => void; close: () => void; toggle: () => void; isOpened: boolean; }): ReactNode; }; export type State = { isOpened: boolean; };