@cerberus-design/react
Version:
The Cerberus Design React component library.
10 lines (9 loc) • 402 B
TypeScript
import { ButtonHTMLAttributes } from 'react';
import { TagRootProps } from './primitives';
export interface ClosableTagProps extends TagRootProps {
/**
* The action to be performed when the close button is clicked.
*/
onClick: ButtonHTMLAttributes<HTMLButtonElement>['onClick'];
}
export declare function ClosableTag(props: ClosableTagProps): import("react/jsx-runtime").JSX.Element;