@atom-learning/components 2.26.0 → 2.27.0-beta.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/CHANGELOG.md +0 -9
- package/dist/components/empty-state/EmptyStateBody.js +1 -1
- package/dist/components/empty-state/EmptyStateImage.d.ts +275 -2
- package/dist/components/empty-state/EmptyStateImage.js +1 -1
- package/dist/components/empty-state/EmptyStateTitle.js +1 -1
- package/dist/components/image/Image.d.ts +3 -1
- package/dist/components/image/Image.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/docs/EmptyState.mdx +6 -3
- package/dist/index.cjs.js +1 -1
- package/package.json +1 -1
package/dist/docs/EmptyState.mdx
CHANGED
|
@@ -9,9 +9,12 @@ category: Content
|
|
|
9
9
|
The message can include Title and/or Body and sometimes they appear together with an illustration and actionable buttons.
|
|
10
10
|
There are 5 different size variants of `EmptyState` ( 'xs', 'sm', 'md', 'lg' and 'xl').
|
|
11
11
|
|
|
12
|
-
```jsx preview
|
|
13
|
-
<EmptyState size="
|
|
14
|
-
<EmptyState.Image
|
|
12
|
+
```jsx preview live
|
|
13
|
+
<EmptyState size="lg">
|
|
14
|
+
<EmptyState.Image
|
|
15
|
+
src="https://app.atomlearning.com/dist/29a378dc127c669808f2.svg"
|
|
16
|
+
alt=""
|
|
17
|
+
/>
|
|
15
18
|
<EmptyState.Title>No users found!</EmptyState.Title>
|
|
16
19
|
<EmptyState.Body>
|
|
17
20
|
You need to add some users before you can use this feature
|