UNPKG

@hhgtech/hhg-components

Version:
18 lines (17 loc) 692 B
import React, { ReactNode, CSSProperties } from 'react'; import { Props as TextProps } from "../text"; export type Props = { children: ReactNode; type?: 'standard' | 'yellow' | 'red' | 'green' | 'teal' | 'blue' | 'pink' | 'violet' | 'grey' | 'sponsored'; isSquared?: boolean; isLight?: boolean; isInline?: boolean; isSelected?: boolean; hasMorePadding?: boolean; isLink?: boolean; className?: string; style?: CSSProperties; textProps?: TextProps; }; declare const Tag: ({ type, children, style, isInline, isSquared, className, isLight, hasMorePadding, isLink, isSelected, textProps, }: Props) => React.JSX.Element; export { Tag };