// @flow /* DOCUMENTATION: https://orbit.kiwi/components/checkbox/ */ import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { Globals } 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, |}; declare export default React.AbstractComponent; declare export var Label: StyledComponent;