UNPKG

@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.

26 lines (21 loc) 793 B
// Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import Tooltip from "../Tooltip"; import * as Common from "../common/common"; export interface Props extends Common.Global, Common.Ref { readonly label?: React.ReactNode; readonly value?: string; readonly hasError?: boolean; readonly disabled?: boolean; readonly name?: string; readonly checked?: boolean; readonly info?: React.ReactNode; readonly tooltip?: React.ReactElement<typeof Tooltip>; readonly readOnly?: boolean; readonly tabIndex?: string | number; // InputEvent readonly onChange?: Common.Event<React.SyntheticEvent<HTMLInputElement>>; } declare const Radio: React.FunctionComponent<Props>; export { Radio, Radio as default };