@bolttech/atoms-button 0.19.4 → 0.21.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.
- package/README.md +3 -3
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@ A customizable React button component.
|
|
|
7
7
|
Use the package manager [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/) to install the component.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @
|
|
10
|
+
npm install @bolttech/frontend-foundations @bolttech/atoms-button
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
or
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
yarn add @
|
|
16
|
+
yarn add @bolttech/frontend-foundations @bolttech/atoms-button
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Props
|
|
@@ -38,7 +38,7 @@ The `Button` component accepts the following properties:
|
|
|
38
38
|
```jsx
|
|
39
39
|
import React from 'react';
|
|
40
40
|
import {Button} from '@bolttech/atoms-button';
|
|
41
|
-
import {bolttechTheme, BolttechThemeProvider} from "@
|
|
41
|
+
import {bolttechTheme, BolttechThemeProvider} from "@bolttech/frontend-foundations";
|
|
42
42
|
|
|
43
43
|
const ExampleComponent = () => {
|
|
44
44
|
const handleButtonClick = () => {
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/atoms-button",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
|
+
"main": "./index.cjs",
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"types": "./src/index.d.ts",
|
|
4
7
|
"dependencies": {
|
|
5
|
-
"@bolttech/atoms-icon": "
|
|
8
|
+
"@bolttech/atoms-icon": "0.21.0",
|
|
9
|
+
"@bolttech/default-theme": "0.0.1",
|
|
10
|
+
"@bolttech/frontend-foundations": "0.0.1",
|
|
6
11
|
"@bolttech/ui-utils": "0.1.1",
|
|
7
|
-
"@edirect/frontend-foundations": "0.0.70",
|
|
8
12
|
"react": "18.2.0",
|
|
9
13
|
"styled-components": "5.3.6"
|
|
10
14
|
},
|
|
11
|
-
"main": "./index.cjs",
|
|
12
|
-
"type": "commonjs",
|
|
13
|
-
"types": "./src/index.d.ts",
|
|
14
15
|
"peerDependencies": {}
|
|
15
16
|
}
|