@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) • 412 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/countryflag/
*/
import type { Globals } from "../common/common.js.flow";
export type Props = {|
+code?: ?string,
+name?: string,
+size?: "small" | "medium",
...Globals,
|};
declare export var getCountryProps: (
code: ?string,
name: ?string,
) => {|
+code: string,
+name: string,
|};
declare export default React$ComponentType<Props>;