UNPKG

570 BTypeScriptView Raw
1import { BoxProps } from "../Box/index";
2import * as Emotion from "@emotion/styled";
3
4export interface IControlBox {
5 type?: "checkbox" | "radio";
6 _hover?: BoxProps;
7 _invalid?: BoxProps;
8 _disabled?: BoxProps;
9 _focus?: BoxProps;
10 _checked?: BoxProps;
11 _child?: BoxProps;
12 _checkedAndChild?: BoxProps;
13 _checkedAndDisabled?: BoxProps;
14 _checkedAndFocus?: BoxProps;
15 _checkedAndHover?: BoxProps;
16}
17
18export type ControlBoxProps = IControlBox & BoxProps;
19
20declare const ControlBox: Emotion.StyledComponent<ControlBoxProps, {}, {}>;
21
22export default ControlBox;