UNPKG

@coreui/react-pro

Version:

UI Components Library for React.js

8 lines (7 loc) 343 B
import { ReactElement } from 'react'; import type { CChipProps } from '../chip/CChip'; /** * Resolves the value used to identify a chip in a `CChipSet`: its explicit * `value` prop, its text children, or the render index as a last resort. */ export declare const resolveChipValue: (chip: ReactElement<CChipProps>, index: number) => string;