diff --git a/.changeset/rich-horses-look.md b/.changeset/rich-horses-look.md new file mode 100644 index 0000000..7c426f4 --- /dev/null +++ b/.changeset/rich-horses-look.md @@ -0,0 +1,5 @@ +--- +'@antv/gpt-vis': patch +--- + +fix(text): vis-text use parent container font-size diff --git a/src/Text/VisText.tsx b/src/Text/VisText.tsx index f534f6f..b985cc0 100644 --- a/src/Text/VisText.tsx +++ b/src/Text/VisText.tsx @@ -29,6 +29,9 @@ const VisText = (props: VisTextProps) => { ( - {content} + {content} ); export default () => (