import React from 'react'; export type MdTagThemePrimary = 'primary' | 'secondary'; export type MdTagThemeOther = 'success' | 'warning' | 'info' | 'error'; interface MdTagCommon extends React.HTMLAttributes { type?: 'base' | 'light' | 'outlined'; label?: string; labels?: string[]; showIcon?: boolean; /** * Let you apply your own icon component. * Note: When `theme` is set to `primary` or `secondary`, this property is required. * * @example * customIcon={} * * @type {React.ReactNode} * */ customIcon?: React.ReactNode; tooltipOnly?: boolean; } export type MdTagProps = (MdTagCommon & { theme: MdTagThemePrimary; customIcon: React.ReactNode; }) | (MdTagCommon & { theme?: MdTagThemeOther | undefined; customIcon?: React.ReactNode; }); export declare const MdTag: React.FC; export default MdTag;