photoeditorsdk
Version:
The most comprehensive photo editor SDK for HTML5
14 lines (13 loc) • 423 B
TypeScript
import type { Tool } from '../../../common/tool';
export interface CustomCheckboxProps {
tool: Tool;
label: string;
value: boolean;
isDisabled?: boolean;
onClick: (e?: React.SyntheticEvent) => void;
checkMarkPosition?: 'left' | 'right';
className?: string;
style?: React.CSSProperties;
children?: React.ReactNode;
}
export type CustomCheckbox = React.ComponentType<CustomCheckboxProps>;