@antv/infographic 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx } from "@antv/infographic/jsx-runtime";
2
2
  import { Group } from '../../jsx';
3
3
  export const BtnsGroup = (props) => {
4
- return (_jsx(Group, { "data-element-type": "btns-group", width: 0, height: 0, ...props }));
4
+ return (_jsx(Group, { "data-element-type": "btns-group", width: 0, height: 0, ...props, display: "none" }));
5
5
  };
@@ -4,6 +4,6 @@ exports.BtnsGroup = void 0;
4
4
  const jsx_runtime_1 = require("@antv/infographic/jsx-runtime");
5
5
  const jsx_1 = require("../../jsx");
6
6
  const BtnsGroup = (props) => {
7
- return ((0, jsx_runtime_1.jsx)(jsx_1.Group, { "data-element-type": "btns-group", width: 0, height: 0, ...props }));
7
+ return ((0, jsx_runtime_1.jsx)(jsx_1.Group, { "data-element-type": "btns-group", width: 0, height: 0, ...props, display: "none" }));
8
8
  };
9
9
  exports.BtnsGroup = BtnsGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/infographic",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "An Infographic Generation and Rendering Framework, bring words to life!",
5
5
  "keywords": [
6
6
  "antv",
@@ -5,6 +5,12 @@ export interface BtnsGroupProps extends GroupProps {}
5
5
 
6
6
  export const BtnsGroup = (props: BtnsGroupProps) => {
7
7
  return (
8
- <Group data-element-type="btns-group" width={0} height={0} {...props} />
8
+ <Group
9
+ data-element-type="btns-group"
10
+ width={0}
11
+ height={0}
12
+ {...props}
13
+ display="none"
14
+ />
9
15
  );
10
16
  };