UNPKG

@visactor/react-vtable

Version:
14 lines (13 loc) 543 B
import type { IRectGraphicAttribute, ITextGraphicAttribute, Padding, Tag as VRenderTag, TagAttributes } from '@visactor/vtable/es/vrender'; import React from 'react'; export interface TagProps { attribute?: TagAttributes; children?: string; textStyle?: Partial<ITextGraphicAttribute>; panelStyle?: Partial<IRectGraphicAttribute>; padding?: Padding; minWidth?: number; maxWidth?: number; visible?: boolean; } export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<VRenderTag>>;