UNPKG

@heycar-uikit/core

Version:
23 lines (22 loc) 641 B
/// <reference types="react" /> import React from 'react'; interface ComponentProps { /** * The content of the Pill */ children: React.ReactNode; /** * Element before the children. */ leftIcon?: React.ReactNode; /** * The component used for the root node. Either a string to use a HTML element or a component */ Component?: React.ElementType; /** * The id for testing */ dataTestId?: string; } declare const Pill: React.ForwardRefExoticComponent<ComponentProps & React.AnchorHTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>; export { Pill as default };