@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
15 lines (14 loc) • 514 B
TypeScript
import { Tag as ChakraTag } from '@chakra-ui/react';
import * as React from 'react';
export interface TagProps extends ChakraTag.RootProps {
startElement?: React.ReactNode;
endElement?: React.ReactNode;
endElementProps?: ChakraTag.EndElementProps;
label?: string;
onClose?: VoidFunction;
closable?: boolean;
truncated?: boolean;
loading?: boolean;
selected?: boolean;
}
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;