@ltht-react/document-summary 2.0.2 → 2.0.3
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 +22 -22
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# DocumentSummary
|
|
2
|
-
|
|
3
|
-
<!-- STORY -->
|
|
4
|
-
|
|
5
|
-
### Import
|
|
6
|
-
|
|
7
|
-
```js
|
|
8
|
-
import DocumentSummary from '@ltht-react/document-summary'
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### Usage
|
|
12
|
-
|
|
13
|
-
```jsx
|
|
14
|
-
<DocumentSummary documents={documentReferences} />
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
### Properties
|
|
18
|
-
|
|
19
|
-
| Prop | Required | Default | Type | Description |
|
|
20
|
-
| :------------- | :------- | :------ | :---------------------------------------- | :----------------------------------------------------- |
|
|
21
|
-
| `documents` | No | | DocumentReference[] | An array of document references |
|
|
22
|
-
| `clickHandler` | No | | clickHandler(document: DocumentReference) | A click handler that will return the selected document |
|
|
1
|
+
# DocumentSummary
|
|
2
|
+
|
|
3
|
+
<!-- STORY -->
|
|
4
|
+
|
|
5
|
+
### Import
|
|
6
|
+
|
|
7
|
+
```js
|
|
8
|
+
import DocumentSummary from '@ltht-react/document-summary'
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Usage
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
<DocumentSummary documents={documentReferences} />
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Properties
|
|
18
|
+
|
|
19
|
+
| Prop | Required | Default | Type | Description |
|
|
20
|
+
| :------------- | :------- | :------ | :---------------------------------------- | :----------------------------------------------------- |
|
|
21
|
+
| `documents` | No | | DocumentReference[] | An array of document references |
|
|
22
|
+
| `clickHandler` | No | | clickHandler(document: DocumentReference) | A click handler that will return the selected document |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ltht-react/document-summary",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "ltht-react clinical DocumentSummary component.",
|
|
5
5
|
"author": "LTHT",
|
|
6
6
|
"homepage": "",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@emotion/react": "^11.0.0",
|
|
29
29
|
"@emotion/styled": "^11.0.0",
|
|
30
|
-
"@ltht-react/icon": "^2.0.
|
|
31
|
-
"@ltht-react/list": "^2.0.
|
|
32
|
-
"@ltht-react/styles": "^2.0.
|
|
33
|
-
"@ltht-react/type-summary": "^2.0.
|
|
34
|
-
"@ltht-react/types": "^2.0.
|
|
35
|
-
"@ltht-react/utils": "^2.0.
|
|
30
|
+
"@ltht-react/icon": "^2.0.3",
|
|
31
|
+
"@ltht-react/list": "^2.0.3",
|
|
32
|
+
"@ltht-react/styles": "^2.0.3",
|
|
33
|
+
"@ltht-react/type-summary": "^2.0.3",
|
|
34
|
+
"@ltht-react/types": "^2.0.3",
|
|
35
|
+
"@ltht-react/utils": "^2.0.3",
|
|
36
36
|
"react": "^18.2.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "6f18742bbf2f44123b6478257e52fbbdd291a25b"
|
|
39
39
|
}
|