@octopusdeploy/design-system-components
Version:
The design systems component library.
12 lines (11 loc) • 485 B
TypeScript
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 {};