UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

14 lines (13 loc) 595 B
import React from 'react'; import { IChipControlled } from './types/chip'; declare const ChipBoundary: <V extends string | unknown>(props: IChipControlled<V>, ref: React.ForwardedRef<HTMLDivElement> | undefined | null) => JSX.Element; declare const Chip: <V extends string>(props: React.PropsWithChildren<IChipControlled<V>> & { ref?: React.ForwardedRef<HTMLDivElement> | undefined | null; }) => ReturnType<typeof ChipBoundary>; /** * @description * Chip component is a selector. * @param {React.PropsWithChildren<IChipControlled<V>>} props * @returns {JSX.Element} */ export { Chip };