Skip to content

Commit 85b3419

Browse files
authored
Add Toast card to component index pages (#7844)
1 parent 9b3385a commit 85b3419

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
Lines changed: 18 additions & 0 deletions
Loading

packages/dev/docs/pages/react-aria/components.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ import ColorSwatchPicker from '../assets/component-illustrations/ColorSwatchPick
6767
import ColorPicker from '../assets/component-illustrations/ColorPicker.svg';
6868
import Disclosure from '../assets/component-illustrations/Disclosure.svg';
6969
import DisclosureGroup from '../assets/component-illustrations/DisclosureGroup.svg';
70+
import Toast from '../assets/component-illustrations/Toast.svg';
7071

7172
---
7273
category: Introduction
@@ -437,6 +438,13 @@ order: 5
437438
<Meter />
438439
</ExampleCard>
439440

441+
<ExampleCard
442+
url="Toast.html"
443+
title="Toast"
444+
description="A toast displays a temporary notification of an action, error, or other event.">
445+
<Toast />
446+
</ExampleCard>
447+
440448
</section>
441449

442450
## Drag and drop

packages/dev/docs/pages/react-spectrum/index.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ import ColorSwatchPicker from '../assets/component-illustrations/ColorSwatchPick
7979
import ColorPicker from '../assets/component-illustrations/ColorPicker.svg';
8080
import Disclosure from '../assets/component-illustrations/Disclosure.svg';
8181
import Accordion from '../assets/component-illustrations/DisclosureGroup.svg';
82+
import Toast from '../assets/component-illustrations/Toast.svg';
8283

8384
---
8485
category: Libraries
@@ -550,6 +551,13 @@ A React implementation of Spectrum, Adobe’s design system.
550551
<Badge />
551552
</ExampleCard>
552553

554+
<ExampleCard
555+
url="Toast.html"
556+
title="Toast"
557+
description="A toast displays a temporary notification of an action, error, or other event.">
558+
<Toast />
559+
</ExampleCard>
560+
553561
</section>
554562

555563
### Drag and drop

0 commit comments

Comments
 (0)