UNPKG

@octopusdeploy/design-system-components

Version:
12 lines (11 loc) 485 B
import type { ReactElement } from "react"; import { type BadgeProps } from "../Badge"; import { type TagProps } from "../Tag"; export type AdornmentIcon = ReactElement; export type AdornmentTag = Pick<TagProps, "label">; export type AdornmentBadge = Omit<BadgeProps, "size">; interface AdornmentProps { adornment: AdornmentIcon | AdornmentTag | AdornmentBadge; } export declare function Adornment({ adornment }: AdornmentProps): import("react/jsx-runtime").JSX.Element; export {};