@keen.io/ui-core
Version:
Keen visual components library
14 lines (13 loc) • 379 B
TypeScript
import React, { FC } from 'react';
import { Variant, TruncateMethod } from './types';
declare type Props = {
variant?: Variant;
children: React.ReactNode;
removable?: boolean;
onClick?: () => void;
onRemove?: () => void;
truncate?: boolean;
truncateMethod?: TruncateMethod;
};
export declare const Badge: FC<Props>;
export default Badge;