UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

21 lines (20 loc) 731 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type ChipProperties<ET extends ElementType = 'div'> = { /** Chip Size */ chipSize?: 'compact'; /** Chip Type */ chipType?: 'selection'; /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Compact elements used to filter content or display user input. * @docs {@link https://design.visa.com/components/chips/?code_library=react | See Docs} * @vgar TODO * @wcag TODO */ declare const Chip: { <ET extends ElementType = "div">({ className, chipType, chipSize, tag: Tag, ...remainingProps }: ChipProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default Chip;