@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.
19 lines (12 loc) • 396 B
Flow
// @flow
import * as React from "react";
export type Globals = {|
+dataTest?: string,
|};
export type RefType = { current: null | HTMLElement } | ((null | HTMLElement) => mixed);
export type Ref = {|
+ref?: RefType,
|};
export type Translation = React$Element<React$ComponentType<any>> | string;
export type TranslationString = string;
export type Component = () => React$Element<any>;