UNPKG

@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 (19 loc) 573 B
// @flow import * as React from "react"; import type { StyledComponent } 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: StyledComponent<any, any, HTMLElement>; declare export default React.ComponentType<Props>;