UNPKG

creevey

Version:

Cross-browser screenshot testing tool for Storybook with fancy UI Runner

23 lines (22 loc) 749 B
import React from 'react'; import { Theme } from '@storybook/theming'; interface CheckboxProps { checked?: boolean; onValueChange: (value: boolean) => void; disabled?: boolean; } interface CheckboxState { indeterminate: boolean; } export declare const CheckboxContainer: import("@storybook/theming").StyledComponent<{ theme?: Theme; as?: React.ElementType; }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>; export declare class Checkbox extends React.Component<CheckboxProps, CheckboxState> { state: CheckboxState; handleIndeterminateChange: (value: boolean) => void; setIndeterminate: () => void; resetIndeterminate: () => void; render(): JSX.Element; } export {};