@chakra-xui/control-box
Version:
Chakra xui ControlBox component
23 lines (22 loc) • 861 B
TypeScript
import { SystemStyleObject, HTMLChakraProps } from "@chakra-xui/system";
import * as React from "react";
export interface ControlBoxOptions {
type?: "checkbox" | "radio";
_hover?: SystemStyleObject;
_invalid?: SystemStyleObject;
_disabled?: SystemStyleObject;
_focus?: SystemStyleObject;
_checked?: SystemStyleObject;
_child?: SystemStyleObject;
_checkedAndChild?: SystemStyleObject;
_checkedAndDisabled?: SystemStyleObject;
_checkedAndFocus?: SystemStyleObject;
_checkedAndHover?: SystemStyleObject;
}
export declare type IControlBox = ControlBoxOptions;
interface BaseControlProps extends Omit<HTMLChakraProps<"div">, keyof ControlBoxOptions> {
}
export interface ControlBoxProps extends BaseControlProps, ControlBoxOptions {
}
export declare const ControlBox: React.FC<ControlBoxProps>;
export default ControlBox;