photoeditorsdk
Version:
The most comprehensive photo editor SDK for HTML5
15 lines (14 loc) • 463 B
TypeScript
/// <reference types="react" />
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 declare type CustomCheckbox = React.ComponentType<CustomCheckboxProps>;