UNPKG

@cainthus/alex-library

Version:

Component React library for Cainthus - Alex Dashboard.

17 lines (13 loc) 384 B
import { ReactNode } from "react"; export type Props = { children: ReactNode, size?: string, className?: string, theme?: string, style?: React.CSSProperties }; export const defaultProps = { size: 'md' as 'md' | 'sm' | 'lg', theme: 'primary' as 'primary' | 'default' | 'warn' | 'success' | 'dark' | 'error' }; export type DefaultProps = Readonly<typeof defaultProps>;