UNPKG

payload

Version:

Node, React and MongoDB Headless CMS and Application Framework

24 lines 796 B
import type { ElementType, MouseEvent } from 'react'; import type React from 'react'; export type Props = { 'aria-label'?: string; buttonId?: string; buttonStyle?: 'error' | 'icon-label' | 'none' | 'primary' | 'secondary' | 'transparent'; children?: React.ReactNode; className?: string; disabled?: boolean; el?: 'anchor' | 'link' | ElementType; icon?: ['chevron' | 'edit' | 'plus' | 'x'] | React.ReactNode; iconPosition?: 'left' | 'right'; iconStyle?: 'none' | 'with-border' | 'without-border'; id?: string; newTab?: boolean; onClick?: (event: MouseEvent) => void; round?: boolean; size?: 'medium' | 'small'; to?: string; tooltip?: string; type?: 'button' | 'submit'; url?: string; }; //# sourceMappingURL=types.d.ts.map