// @flow /* DOCUMENTATION: https://orbit.kiwi/components/badge/ */ import * as React from "react"; import type { StyledComponent } from "styled-components"; import type { Globals } from "../common/common.js.flow"; export type Type = | "neutral" | "dark" | "info" | "success" | "warning" | "critical" | "white" | "infoInverted" | "criticalInverted" | "successInverted" | "warningInverted"; export type Props = {| +children?: React.Node, +type?: Type, +icon?: React.Node, +ariaLabel?: string, ...Globals, |}; declare export var StyledBadge: StyledComponent; declare export default React.ComponentType;