smart-react-components
Version:
React UI library, wide variety of editable ready to use Styled and React components.
20 lines (19 loc) • 601 B
TypeScript
import React from "react";
import { SizeProps } from "../props/size-props";
import { JSXElementProps, JSXChild, Value, SetValue } from "../props";
export interface Props extends SizeProps {
containerProps?: JSXElementProps;
inputProps?: JSXElementProps;
spanProps?: JSXElementProps;
children?: JSXChild;
type?: string;
fill?: boolean;
shape?: string;
value?: Value;
active?: Value[];
setActive?: SetValue<Value[]>;
checked?: boolean;
setChecked?: SetValue<boolean>;
}
declare const Checkbox: React.FC<Props>;
export default Checkbox;