@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.
22 lines (18 loc) • 501 B
Flow
// @flow
import type { Globals, Translation } from "../../common/common.js.flow";
export type Props = {|
...Globals,
+name?: Translation,
+price?: Translation,
+mobileDescription?: Translation,
+priceBadge?: React$Node,
+featureIcon?: React$Node,
+badge?: string | React$Node,
+children?: React$Node,
+active?: boolean,
+compact?: boolean,
+action?: React$Node,
+basis?: string,
+onClick?: () => void | Promise<any>,
|};
declare export default React$ComponentType<Props>;