UNPKG

@spaced-out/ui-design-system

Version:
30 lines 1.1 kB
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { GroupAlign } from '../../types/common'; type ClassNames = Readonly<{ wrapper?: string; checkboxSquare?: string; label?: string; }>; export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'value' | 'children' | 'checked' | 'indeterminate' | 'focused' | 'disabled' | 'error' | 'onChange' | 'align' | 'classNames' | 'tabIndex' | 'ariaLabel'> { name?: string; value?: string; children?: React.ReactNode; checked?: boolean; indeterminate?: boolean; focused?: boolean; disabled?: boolean; error?: boolean; onChange?: (arg1: { value: string; checked: boolean; }, arg2?: React.SyntheticEvent<HTMLElement> | null | undefined) => unknown; align?: GroupAlign; classNames?: ClassNames; tabIndex?: number; ariaLabel?: string; testId?: string; } export declare const Checkbox: Flow.AbstractComponent<CheckboxProps, HTMLInputElement>; export {}; //# sourceMappingURL=Checkbox.d.ts.map