UNPKG

@hhgtech/hhg-components

Version:
14 lines (13 loc) 560 B
import React, { HTMLAttributes } from 'react'; import { LocaleType } from "../../../interfaces/types"; export type PillProps = { icon?: string | null; name: string; locale?: LocaleType; dataEventCategory?: string; dataEventAction?: string; dataEventLabel?: string; onSelect?: () => void; } & Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'>; declare const Pill: ({ icon, name, className, locale, dataEventCategory, dataEventAction, dataEventLabel, onSelect, ...rest }: PillProps) => React.JSX.Element; export { Pill };