UNPKG

@lapidist/components

Version:
13 lines (12 loc) 469 B
import { default as React } from 'react'; export type AsType = React.ElementType; export type LevelType = 'primary' | 'secondary' | 'tertiary' | 'danger'; export type SizeType = 'none' | 'small' | 'medium' | 'large'; export type BaseProps = { readonly className?: string; readonly as?: AsType; readonly testId?: string; readonly children?: React.ReactNode | React.ReactNode[]; readonly style?: React.CSSProperties; readonly htmlFor?: string; };