@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 (18 loc) • 541 B
Flow
// @flow
import type { ReactComponentStyled } from "styled-components";
export type Props = {
+icon?: React$Node,
+title?: React$Node,
+description?: React$Node,
+external?: boolean,
+onClick?: (ev: SyntheticEvent<HTMLDivElement>) => void,
+isExpandable?: boolean,
+isExpanded?: boolean,
};
export type IconRightProps = {
external?: boolean,
isExpandable?: boolean,
isExpanded?: boolean,
};
declare export var StyledIconRight: ReactComponentStyled<IconRightProps>;
declare export default React$ComponentType<Props>;