@cainthus/alex-library
Version:
Component React library for Cainthus - Alex Dashboard.
14 lines (13 loc) • 371 B
TypeScript
import { ReactNode } from "react";
export declare type Props = {
onToggle?: (isOpened: boolean) => void;
type: "card" | undefined;
children: ReactNode;
} & Partial<DefaultProps>;
export declare const defaultProps: {
type: string;
};
export declare type DefaultProps = Readonly<typeof defaultProps>;
export declare type State = {
isOpened: boolean;
};