UNPKG

photoeditorsdk

Version:

The most comprehensive photo editor SDK for HTML5

23 lines (22 loc) 599 B
import type { Tool } from '../../common/tool'; export declare enum CardType { LARGE = "large", MEDIUM = "medium", SMALL = "small" } export interface CustomCardProps { tool: Tool; label: string; role?: string; image?: string; 'aria-label'?: string; 'aria-expanded'?: boolean; isActive?: boolean; type: CardType; isDisabled?: boolean; onClick: (e?: React.MouseEvent<HTMLButtonElement>) => void; className?: string; style?: React.CSSProperties; children?: React.ReactNode; } export type CustomCard = React.ComponentType<CustomCardProps>;