@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.
24 lines (20 loc) • 642 B
Flow
// @flow
import * as React from "react";
import type { ReactComponentStyled } from "styled-components";
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,
+onClick?: () => void | Promise<any>,
|};
declare export var StyledListWrapper: ReactComponentStyled<any>;
declare export default React.ComponentType<Props>;