@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.
23 lines (20 loc) • 511 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/radio/
*/
import type { Globals, Ref } from "../common/common.js.flow";
export type Props = {|
+label?: React$Node,
+value?: string,
+hasError?: boolean,
+disabled?: boolean,
+name?: string,
+checked?: boolean,
+info?: React$Node,
+readOnly?: boolean,
tabIndex?: string,
+onChange?: (ev: SyntheticInputEvent<HTMLInputElement>) => void | Promise<any>,
...Globals,
...Ref,
|};
declare export default React$ComponentType<Props>;