@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) • 535 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/components/tag/
*/
import { ReactComponentStyled } from "styled-components";
import type { Globals } from "../common/common.js.flow";
type Size = "small" | "normal";
export type Props = {|
+children: React$Node,
+icon?: React$Node,
+selected?: boolean,
+size?: Size,
+onRemove?: () => void | Promise<any>,
+onClick?: () => void | Promise<any>,
...Globals,
|};
declare export default React$ComponentType<Props>;
declare export var StyledTag: ReactComponentStyled<any>;