UNPKG

@kiwicom/orbit-components

Version:

<div align="center"> <a href="https://orbit.kiwi" target="_blank"> <img alt="orbit-components" src="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components.png" srcset="https://orbit.kiwi/wp-content/uploads/2018/08/orbit-components@2x.png 2x"

19 lines (15 loc) 464 B
// @flow import type { spaceAfter } from "../common/getSpacingToken/index"; import type { Globals } from "../common/common.js.flow"; type Type = "info" | "success" | "warning" | "critical"; export type Props = {| +type?: Type, +children?: React$Node, +title?: string | React$Node, +icon?: React$Element<any> | boolean, +closable?: boolean, +onClose?: () => void, ...Globals, ...spaceAfter, |}; declare export default React$ComponentType<Props>;