zmp-react
Version:
Build full featured iOS & Android apps using ZMP & React
32 lines (27 loc) • 766 B
TypeScript
import * as React from 'react';
interface CheckboxProps {
slot?: string;
id?: string | number;
className?: string;
style?: React.CSSProperties;
checked ?: boolean;
indeterminate ?: boolean;
name ?: number | string;
value ?: number | string | boolean;
disabled ?: boolean;
readonly ?: boolean;
label ?: string;
defaultChecked ?: boolean;
ref?: React.MutableRefObject<{el: HTMLElement | null; inputEl: HTMLElement | null}>;
color?: string;
colorTheme?: string;
textColor?: string;
bgColor?: string;
borderColor?: string;
rippleColor?: string;
themeDark?: boolean;
onChange ?: (event?: any) => void;
children?: React.ReactNode;
}
declare const Checkbox: React.FunctionComponent<CheckboxProps>;
export default Checkbox;