@jswork/antd-components 1.0.202 → 1.0.203

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/antd-components",
3
- "version": "1.0.202",
3
+ "version": "1.0.203",
4
4
  "main": "dist/main.cjs.js",
5
5
  "module": "dist/main.esm.js",
6
6
  "types": "dist/main.d.ts",
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import noop from '@jswork/noop';
3
- import { Button, Input, InputProps } from 'antd';
3
+ import { Space, Button, Input, InputProps } from 'antd';
4
4
  import { UnlockOutlined, LockOutlined } from '@ant-design/icons';
5
5
  import { nanoid } from 'nanoid';
6
6
  import cx from 'classnames';
@@ -44,7 +44,7 @@ export class AcInputToken extends React.Component<AcInputTokenProps> {
44
44
  get tokenView() {
45
45
  const { labelCreate, labelRemove } = this.props;
46
46
  return (
47
- <Button.Group>
47
+ <Space.Compact>
48
48
  <Button
49
49
  size="small"
50
50
  icon={<LockOutlined />}
@@ -59,7 +59,7 @@ export class AcInputToken extends React.Component<AcInputTokenProps> {
59
59
  onClick={this.handleTokenRemove}>
60
60
  {labelRemove}
61
61
  </Button>
62
- </Button.Group>
62
+ </Space.Compact>
63
63
  );
64
64
  }
65
65