@visactor/react-vtable
Version:
The react version of VTable
14 lines (13 loc) • 543 B
TypeScript
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>>;