UNPKG

@spaced-out/ui-design-system

Version:
26 lines 775 B
import * as React from 'react'; import type { Flow } from 'flow-to-typescript-codemod'; import type { GroupAlign } from '../../types/common'; type ClassNames = Readonly<{ wrapper?: string; checkboxGroup?: string; errorText?: string; }>; export type CheckboxOptions = Array<{ label: React.ReactNode; value: string; }>; export type CheckboxGroupProps = { align?: GroupAlign; disabled?: boolean; name: string; value?: Array<string>; onChange?: (value: Array<string>) => unknown; classNames?: ClassNames; error?: boolean; errorText?: string; children?: React.ReactNode; }; export declare const CheckboxGroup: Flow.AbstractComponent<CheckboxGroupProps, HTMLDivElement>; export {}; //# sourceMappingURL=CheckboxGroup.d.ts.map