@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.
17 lines (13 loc) • 555 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type * as React from "react";
import type * as Common from "../common/types";
export interface Props extends Common.Globals {
readonly icon?: React.ReactNode;
readonly checked: boolean;
readonly ariaLabelledby?: string;
readonly disabled?: boolean;
readonly onChange: React.ChangeEventHandler<HTMLInputElement>;
readonly onFocus?: React.FocusEventHandler<HTMLInputElement>;
readonly onBlur?: React.FocusEventHandler<HTMLInputElement>;
}