@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 (12 loc) • 375 B
Flow
// @flow
import * as React from "react";
export type Translations = {
[key: string]: string,
};
export type Props = {|
+values: Translations,
+children: React.Node,
|};
type WithDictionary<A, B> = (a: React.ComponentType<A>) => React.ComponentType<B>;
declare export default React.ComponentType<Props>;
declare export var withDictionary: WithDictionary<any, any>;