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.

19 lines (18 loc) 818 B
import * as React from "react"; import { ICON_COLORS } from "../../Icon/consts"; import type { Props, Type } from "./types"; export declare const getIconColor: (type: Type) => "info" | "success" | "warning" | "critical" | ICON_COLORS.SECONDARY; export declare const ItemWrapper: ({ children, dataTest }: { children: any; dataTest: any; }) => React.JSX.Element; export declare const VerticalBadge: ({ children, type, }: { children: React.ReactNode; type: Props["type"]; }) => React.JSX.Element; export declare const BadgeContent: ({ children, style, }: { children: React.ReactNode; style?: React.CSSProperties | undefined; }) => React.JSX.Element; declare const BadgeListItem: ({ icon, strikeThrough, type, size, dataTest, children, }: Props) => React.JSX.Element; export default BadgeListItem;