@ltht-react/flag-summary 2.0.1 → 2.0.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.
- package/README.md +21 -21
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# Flag Summary
|
|
2
|
-
|
|
3
|
-
### Import
|
|
4
|
-
|
|
5
|
-
```js
|
|
6
|
-
import FlagSummary from '@ltht-react/flag-summary'
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
### Usage
|
|
10
|
-
|
|
11
|
-
```jsx
|
|
12
|
-
<FlagSummary title="Alerts" flags={flags} clickHandler={handleClick} />
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
| Prop | Required | Default | Type | Description |
|
|
18
|
-
| :------------- | :------- | :----------- | :------- | :------------------------------------------------------- |
|
|
19
|
-
| `title` | No | Flag Summary | string | Header text |
|
|
20
|
-
| `flags` | Yes | | Flag[] | Array of flags to display |
|
|
21
|
-
| `clickHandler` | No | undefined | Function | Callback click handler containing the selected flag item |
|
|
1
|
+
# Flag Summary
|
|
2
|
+
|
|
3
|
+
### Import
|
|
4
|
+
|
|
5
|
+
```js
|
|
6
|
+
import FlagSummary from '@ltht-react/flag-summary'
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
### Usage
|
|
10
|
+
|
|
11
|
+
```jsx
|
|
12
|
+
<FlagSummary title="Alerts" flags={flags} clickHandler={handleClick} />
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Properties
|
|
16
|
+
|
|
17
|
+
| Prop | Required | Default | Type | Description |
|
|
18
|
+
| :------------- | :------- | :----------- | :------- | :------------------------------------------------------- |
|
|
19
|
+
| `title` | No | Flag Summary | string | Header text |
|
|
20
|
+
| `flags` | Yes | | Flag[] | Array of flags to display |
|
|
21
|
+
| `clickHandler` | No | undefined | Function | Callback click handler containing the selected flag item |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ltht-react/flag-summary",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "Jonny Smith <jonny.asmith@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@emotion/react": "^11.0.0",
|
|
26
26
|
"@emotion/styled": "^11.0.0",
|
|
27
|
-
"@ltht-react/icon": "^2.0.
|
|
28
|
-
"@ltht-react/list": "^2.0.
|
|
29
|
-
"@ltht-react/styles": "^2.0.
|
|
30
|
-
"@ltht-react/type-summary": "^2.0.
|
|
31
|
-
"@ltht-react/types": "^2.0.
|
|
32
|
-
"@ltht-react/utils": "^2.0.
|
|
27
|
+
"@ltht-react/icon": "^2.0.2",
|
|
28
|
+
"@ltht-react/list": "^2.0.2",
|
|
29
|
+
"@ltht-react/styles": "^2.0.2",
|
|
30
|
+
"@ltht-react/type-summary": "^2.0.2",
|
|
31
|
+
"@ltht-react/types": "^2.0.2",
|
|
32
|
+
"@ltht-react/utils": "^2.0.2",
|
|
33
33
|
"react": "^18.2.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c1487e107fcc3e16a95a65393cfb673ab92db352"
|
|
36
36
|
}
|