// @flow /* DOCUMENTATION: https://orbit.kiwi/components/checkbox/ */ import * as React from "react"; import type { ReactComponentStyled } from "styled-components"; import type { Globals, Ref } from "../common/common.js.flow"; export type Props = {| +label?: React.Node, +value?: string, +hasError?: boolean, +disabled?: boolean, +checked?: boolean, +name?: string, +info?: React.Node, +tabIndex?: string | number, +readOnly?: boolean, +tooltip?: ?React.Element, +onChange?: (ev: SyntheticInputEvent) => void | Promise, ...Globals, ...Ref, |}; declare export default React.ComponentType; declare export var Label: ReactComponentStyled;