UNPKG

smart-react-components

Version:

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

18 lines (17 loc) 566 B
import React from "react"; import { Value, SetValue } from "../props"; interface Props { value: Value; active: Value[]; setActive: SetValue<Value[]>; checked: boolean; setChecked: SetValue<boolean>; disabled: boolean; onChange: (e: React.FormEvent<HTMLInputElement>) => void; } interface Return { checked$: boolean; change: (e: React.FormEvent<HTMLInputElement>) => void; } declare const _default: ({ value, active, setActive, checked, setChecked, disabled, onChange }: Props) => Return; export default _default;