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.

18 lines (13 loc) 586 B
// @flow import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { Option } from "../index.js.flow"; export type Props = {| +onChange: (ev: SyntheticInputEvent<HTMLInputElement>) => void, +onFocus?: (ev: SyntheticInputEvent<HTMLInputElement>) => void | Promise<any>, +setTooltipShown: (shown: boolean) => void, ...Option, |}; declare export var StyledText: StyledComponent<any, any, HTMLDivElement>; declare export var StyledLabel: StyledComponent<any, any, HTMLLabelElement>; declare export default React.ComponentType<Props>;