@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
27 lines (22 loc) • 633 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/checkbox/
*/
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,
+readOnly?: boolean,
+onChange?: (ev: SyntheticInputEvent<HTMLInputElement>) => void | Promise<any>,
...Globals,
...Ref,
|};
declare export default React$ComponentType<Props>;
declare export var Label: ReactComponentStyled<any>;