1 | import { IBadge } from "../Badge";
|
2 | import * as React from "react";
|
3 | import { BoxProps } from "../Box";
|
4 | import { PseudoBoxProps } from "../PseudoBox";
|
5 | import { IconProps } from "../Icon";
|
6 | import { Omit } from "../common-types";
|
7 |
|
8 | export interface ITag {
|
9 | |
10 |
|
11 |
|
12 | variant?: IBadge["variant"];
|
13 | |
14 |
|
15 |
|
16 | size?: "sm" | "md" | "lg";
|
17 | |
18 |
|
19 |
|
20 | variantColor?: IBadge["variantColor"];
|
21 | }
|
22 | export interface ITagCloseButton {
|
23 | isDisabled?: boolean;
|
24 | }
|
25 | export type TagProps = ITag & Omit<PseudoBoxProps, "size">;
|
26 | declare const Tag: React.FC<TagProps>;
|
27 | export default Tag;
|
28 |
|
29 | export const TagLabel: React.FC<BoxProps>;
|
30 | export const TagCloseButton: React.FC<PseudoBoxProps> & ITagCloseButton;
|
31 |
|
32 | type TagIconProps = Omit<IconProps, "name"> & {
|
33 | icon: IconProps["name"] | React.ComponentType;
|
34 | };
|
35 | export const TagIcon: React.FC<TagIconProps>;
|