react-input-checkbox
Version:
Simple and stylable checkbox UI component for React apps
14 lines (11 loc) • 328 B
TypeScript
import * as React from 'react';
export interface CheckboxProps {
children: React.ReactNode;
disabled?: boolean;
indeterminate?: boolean;
modification?: string;
onChange: (event: React.SyntheticEvent) => void;
theme?: string;
value: boolean;
}
export class Checkbox extends React.Component<CheckboxProps, any> {}