@blockscout/ui-toolkit
Version:
A comprehensive collection of reusable Chakra UI components and theme system for Blockscout's projects
16 lines (15 loc) • 538 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;
disabled?: boolean;
}
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;