UNPKG

@spaced-out/ui-design-system

Version:
163 lines 4.01 kB
import * as React from 'react'; import type { CheckboxGroupProps } from './'; declare const _default: { tags: string[]; title: string; component: import("flow-to-typescript-codemod").Flow.AbstractComponent<CheckboxGroupProps, HTMLDivElement>[]; argTypes: { align: { description: string; options: string[]; table: { defaultValue: { summary: string; }; }; control: string; }; value: { name: string; description: string; table: { type: { summary: string; }; }; control: { disable: boolean; }; }; error: { name: string; description: string; options: boolean[]; control: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; }; }; errorText: { description: string; table: { type: { summary: string; }; }; }; classNames: { description: string; control: { type: string; }; table: { type: { summary: string; }; }; }; name: { description: string; type: { required: boolean; }; }; disabled: { name: string; description: string; options: boolean[]; control: string; table: { type: { summary: string; }; defaultValue: { summary: boolean; }; }; }; onChange: { description: string; action: string; type: { summary: string; }; }; }; parameters: { docs: { subtitle: string; description: { component: string; }; }; storySource: { componentPath: string; }; }; }; export default _default; export declare const _CheckboxGroupVertical: { (args: CheckboxGroupProps): React.JSX.Element; args: { error: boolean; align: string; name: string; errorText: string; } | { error: boolean; align: string; name: string; errorText: string; }; }; export declare const _CheckboxGroupHorizontal: { (args: CheckboxGroupProps): React.JSX.Element; args: { error: boolean; align: string; name: string; errorText: string; } | { error: boolean; align: string; name: string; errorText: string; }; }; export declare const _CheckboxGroupHorizontalFluid: { (args: CheckboxGroupProps): React.JSX.Element; args: { error: boolean; align: string; name: string; errorText: string; }; }; type IndeterminateCheckboxProps = CheckboxGroupProps & { defaultCheckedList: Array<string>; options: Array<{ label: string; value: string; }>; }; export declare const _Indeterminate: { (args: IndeterminateCheckboxProps): React.JSX.Element; args: { error: boolean; name: string; errorText: string; options: { label: string; value: string; }[]; defaultCheckedList: string[]; align: string; }; }; export declare const _CustomCheckboxOptions: (args: CheckboxGroupProps) => React.JSX.Element; //# sourceMappingURL=CheckboxGroup.stories.d.ts.map