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 (18 loc) 578 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/components/tag/ */ import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { Globals } from "../common/common.js.flow"; type Size = "small" | "normal"; export type Props = {| +children: React.Node, +selected?: boolean, +size?: Size, +onRemove?: () => void | Promise<any>, +onClick?: () => void | Promise<any>, ...Globals, |}; declare export default React.AbstractComponent<Props, HTMLDivElement>; declare export var StyledTag: StyledComponent<any, any, HTMLElement>;