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.

23 lines (18 loc) 548 B
// @flow /* DOCUMENTATION: https://orbit.kiwi/primitives/badgePrimitive/ */ import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { Globals } from "../../common/common.js.flow"; export type Props = {| +children?: React.Node, +icon?: React.Node, +ariaLabel?: string, +background?: ?string, +foregroundColor?: ?string, +borderColor?: ?string, ...Globals, |}; declare export var StyledBadge: StyledComponent<any, any, HTMLElement>; declare export default React.ComponentType<Props>;