-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
99 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
@stellar/design-system-website/docs/components/elements/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"label": "Elements", | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
@stellar/design-system-website/docs/components/elements/avatar.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
slug: /avatar | ||
--- | ||
|
||
# Avatar | ||
|
||
<ComponentDescription componentName="Avatar" /> | ||
|
||
## Example | ||
|
||
```tsx live | ||
<PreviewBlock componentName="Avatar"> | ||
<Avatar publicAddress="GD4XW236EFCESNO4RKGG5PWML2WNQIJS335XECBW4GRARXKE64VIMOLZ" /> | ||
</PreviewBlock> | ||
``` | ||
|
||
## Props | ||
|
||
<ComponentProps componentName="Avatar" /> |
19 changes: 19 additions & 0 deletions
19
@stellar/design-system-website/docs/components/notifications/banner.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
slug: /banner | ||
--- | ||
|
||
# Banner | ||
|
||
<ComponentDescription componentName="Banner" /> | ||
|
||
## Example | ||
|
||
```tsx live | ||
<PreviewBlock componentName="Banner"> | ||
<Banner variant="default">Banner message</Banner> | ||
</PreviewBlock> | ||
``` | ||
|
||
## Props | ||
|
||
<ComponentProps componentName="Banner" /> |
5 changes: 5 additions & 0 deletions
5
@stellar/design-system-website/src/componentPreview/avatarPreview.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { ComponentPreview } from "@site/src/components/PreviewBlock"; | ||
|
||
export const avatarPreview: ComponentPreview = { | ||
options: [], | ||
}; |
32 changes: 32 additions & 0 deletions
32
@stellar/design-system-website/src/componentPreview/bannerPreview.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { ComponentPreview } from "@site/src/components/PreviewBlock"; | ||
|
||
export const bannerPreview: ComponentPreview = { | ||
options: [ | ||
{ | ||
type: "select", | ||
prop: "variant", | ||
options: [ | ||
{ | ||
value: "default", | ||
label: "Default", | ||
}, | ||
{ | ||
value: "primary", | ||
label: "Primary", | ||
}, | ||
{ | ||
value: "success", | ||
label: "Success", | ||
}, | ||
{ | ||
value: "error", | ||
label: "Error", | ||
}, | ||
{ | ||
value: "warning", | ||
label: "Warning", | ||
}, | ||
], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters