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.

20 lines (17 loc) 480 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/listchoice/ */ import type { Globals, Translation } from "../common/common.js.flow"; export type Props = {| ...Globals, +title: Translation, +description?: Translation, +selectable?: boolean, +selected?: boolean, +icon: React$Node, +onClick?: ( e: SyntheticEvent<HTMLDivElement> | SyntheticKeyboardEvent<HTMLElement>, ) => void | Promise<any>, |}; declare export default React$ComponentType<Props>;