UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

48 lines 2.74 kB
import { ComponentMeta, ComponentStory } from '@storybook/react'; import React from 'react'; import { Checkbox } from './checkbox'; declare const story: ComponentMeta<typeof Checkbox>; export default story; export declare const Default: ComponentStory<React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { disabled?: boolean | undefined; indeterminate?: boolean | undefined; label?: string | undefined; dimension?: "small" | "regular" | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; } & React.RefAttributes<HTMLInputElement>>>; export declare const Checked: ComponentStory<React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { disabled?: boolean | undefined; indeterminate?: boolean | undefined; label?: string | undefined; dimension?: "small" | "regular" | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; } & React.RefAttributes<HTMLInputElement>>>; export declare const DisabledChecked: ComponentStory<React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { disabled?: boolean | undefined; indeterminate?: boolean | undefined; label?: string | undefined; dimension?: "small" | "regular" | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; } & React.RefAttributes<HTMLInputElement>>>; export declare const Indeterminate: ComponentStory<React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { disabled?: boolean | undefined; indeterminate?: boolean | undefined; label?: string | undefined; dimension?: "small" | "regular" | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; } & React.RefAttributes<HTMLInputElement>>>; export declare const withLabel: ComponentStory<React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { disabled?: boolean | undefined; indeterminate?: boolean | undefined; label?: string | undefined; dimension?: "small" | "regular" | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; } & React.RefAttributes<HTMLInputElement>>>; export declare const withConstraint: ComponentStory<React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { disabled?: boolean | undefined; indeterminate?: boolean | undefined; label?: string | undefined; dimension?: "small" | "regular" | undefined; onChange?: ((event: React.ChangeEvent<HTMLInputElement>) => void) | undefined; } & React.RefAttributes<HTMLInputElement>>>; //# sourceMappingURL=checkbox.stories.d.ts.map