UNPKG

@cainthus/alex-library

Version:

Component React library for Cainthus - Alex Dashboard.

26 lines (25 loc) 723 B
import { SyntheticEvent, ReactNode } from "react"; export declare type Props = { children: ReactNode; className?: string; rounded: boolean; stretch: boolean; disabled?: boolean; size: string; theme: string; flat: boolean; onClick(event: SyntheticEvent): any; style?: object; type: string; inline: boolean; } & Partial<DefaultProps>; export declare const defaultProps: { theme: "primary" | "success" | "default" | "bright" | "dark" | "warn" | "transparent"; flat: boolean; stretch: boolean; size: "md" | "sm" | "lg"; rounded: boolean; inline: boolean; type: "button" | "submit"; }; export declare type DefaultProps = Readonly<typeof defaultProps>;