@kopexa/chip
Version:
A Chip is a small block of essential information that represent an input, attribute, or action.
20 lines (17 loc) • 765 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { RelatedControlChipVariantsProps } from '@kopexa/theme';
type MappingType = "EQUAL" | "INTERSECT" | "PARTIAL" | "SUBSET" | "SUPERSET";
type RelatedControlChipProps = RelatedControlChipVariantsProps & {
refCode: string;
mappingType?: MappingType;
relation?: string | null;
/**
* Render the chip as a different component.
* @default false
* @example
* <RelatedControlChip asChild><Link to="/path">Link</Link></RelatedControlChip>
*/
asChild?: boolean;
};
declare const RelatedControlChip: ({ refCode, mappingType, relation, asChild, }: RelatedControlChipProps) => react_jsx_runtime.JSX.Element;
export { RelatedControlChip, type RelatedControlChipProps };