UNPKG

smart-react-components

Version:

React UI library, wide variety of editable ready to use Styled and React components.

19 lines (18 loc) 576 B
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; value?: Value; active?: Value[]; setActive?: SetValue<Value[]>; checked?: boolean; setChecked?: SetValue<boolean>; } declare const Switch: React.FC<Props>; export default Switch;