@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 (19 loc) • 756 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 children: React.ReactNode;
readonly className?: string;
readonly filled?: boolean;
readonly disabled?: boolean;
readonly required?: boolean;
readonly id?: string;
readonly error?: boolean;
readonly help?: boolean;
readonly iconRef?: Common.RefType<HTMLSpanElement>;
readonly labelRef?: Common.RefType<HTMLSpanElement>;
readonly inlineLabel?: boolean;
readonly onMouseEnter?: Common.Event<React.MouseEvent<HTMLElement>>;
readonly onMouseLeave?: Common.Event<React.MouseEvent<HTMLElement>>;
}