@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.
25 lines (20 loc) • 623 B
Flow
// @flow
/*
DOCUMENTATION: https://orbit.kiwi/primitives/badgePrimitive/
*/
import * as React from "react";
import type { StyledComponent } from "styled-components";
import type { Carrier } from "../../CarrierLogo";
import type { Globals } from "../../common/common.js.flow";
export type Props = {|
+children?: React.Node,
+icon?: React.Node,
+carriers?: Carrier[],
+ariaLabel?: string,
+background?: ?string,
+foregroundColor?: ?string,
+borderColor?: ?string,
...Globals,
|};
declare export var StyledBadge: StyledComponent<any, any, HTMLElement>;
declare export default React.ComponentType<Props>;