@carbon-labs/react-example-button 0.5.0 → 0.7.0

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.
@@ -11,11 +11,10 @@ import { usePrefix } from '../node_modules/@carbon-labs/utilities/es/usePrefix.j
11
11
 
12
12
  /** Primary UI component for user interaction */
13
13
 
14
- const ExampleButton = _ref => {
15
- let {
16
- children = 'Button',
17
- ...rest
18
- } = _ref;
14
+ const ExampleButton = ({
15
+ children = 'Button',
16
+ ...rest
17
+ }) => {
19
18
  const prefix = usePrefix();
20
19
  return /*#__PURE__*/React.createElement("div", {
21
20
  className: `${prefix}--example-button__container`
@@ -13,11 +13,10 @@ var usePrefix = require('../node_modules/@carbon-labs/utilities/es/usePrefix.js'
13
13
 
14
14
  /** Primary UI component for user interaction */
15
15
 
16
- const ExampleButton = _ref => {
17
- let {
18
- children = 'Button',
19
- ...rest
20
- } = _ref;
16
+ const ExampleButton = ({
17
+ children = 'Button',
18
+ ...rest
19
+ }) => {
21
20
  const prefix = usePrefix.usePrefix();
22
21
  return /*#__PURE__*/React.createElement("div", {
23
22
  className: `${prefix}--example-button__container`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon-labs/react-example-button",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -30,10 +30,10 @@
30
30
  ],
31
31
  "scripts": {
32
32
  "build": "node ../../../tasks/build.js",
33
- "clean": "rm -rf {es,lib,scss}"
33
+ "clean": "rimraf es lib scss"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@carbon-labs/utilities": "canary"
37
37
  },
38
- "gitHead": "7143d1ffcfee709fceee312ed790da0303703cb8"
38
+ "gitHead": "6306a24bb5e1f672878988240d6c3b736029b587"
39
39
  }