File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
packages/@react-spectrum/s2 Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export const WithActionButton: Story = {
138138 < AccordionItemTitle >
139139 Files
140140 </ AccordionItemTitle >
141- < ActionButton > < NewIcon aria-label = "new icon" /> </ ActionButton >
141+ < ActionButton aria-label = "Add new file" > < NewIcon /> </ ActionButton >
142142 </ AccordionItemHeader >
143143 < AccordionItemPanel >
144144 Files content
@@ -149,7 +149,7 @@ export const WithActionButton: Story = {
149149 < AccordionItemTitle >
150150 People
151151 </ AccordionItemTitle >
152- < ActionButton > < NewIcon aria-label = "new icon" /> </ ActionButton >
152+ < ActionButton aria-label = "Add new person" > < NewIcon /> </ ActionButton >
153153 </ AccordionItemHeader >
154154 < AccordionItemPanel >
155155 < TextField label = "Name" styles = { style ( { maxWidth : 176 } ) } placeholder = "Enter your name" />
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const ExampleRender = (args: DropZoneProps): ReactElement => {
4343 < IllustratedMessage >
4444 < DropToUpload />
4545 < Heading >
46- Drag and drop your file
46+ Drag or paste your file
4747 </ Heading >
4848 < Content >
4949 Or, select a file from your computer
@@ -72,7 +72,7 @@ const ExampleWithFileTriggerRender = (args: DropZoneProps): ReactElement => {
7272 < IllustratedMessage >
7373 < Cloud />
7474 < Heading >
75- Drag and drop your file
75+ Drag or paste your file
7676 </ Heading >
7777 < Content >
7878 Or, select a file from your computer
@@ -108,7 +108,7 @@ const LongBannerRender = (args: DropZoneProps): ReactElement => {
108108 < IllustratedMessage >
109109 < DropToUpload />
110110 < Heading >
111- Drag and drop your file
111+ Drag or paste your file
112112 </ Heading >
113113 < Content >
114114 Or, select a file from your computer
@@ -172,7 +172,7 @@ const GradientExample = (args: DropZoneProps): ReactElement => {
172172 < IllustratedMessage >
173173 < CloudUpload />
174174 < Heading >
175- Drag and drop your file
175+ Drag or paste your file
176176 </ Heading >
177177 < Content >
178178 Or, select a file from your computer
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export const WithActionButton: Story = {
217217 < AccordionItemTitle >
218218 Files
219219 </ AccordionItemTitle >
220- < ActionButton > < NewIcon aria-label = "new icon" /> </ ActionButton >
220+ < ActionButton aria-label = "Add new file" > < NewIcon /> </ ActionButton >
221221 </ AccordionItemHeader >
222222 < AccordionItemPanel >
223223 Files content
@@ -228,7 +228,7 @@ export const WithActionButton: Story = {
228228 < AccordionItemTitle >
229229 People
230230 </ AccordionItemTitle >
231- < ActionButton > < NewIcon aria-label = "new icon" /> </ ActionButton >
231+ < ActionButton aria-label = "Add new person" > < NewIcon /> </ ActionButton >
232232 </ AccordionItemHeader >
233233 < AccordionItemPanel >
234234 < TextField label = "Name" styles = { style ( { maxWidth : 176 } ) } placeholder = "Enter your name" />
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const ExampleRender = (args: DropZoneProps): ReactElement => {
5252 < IllustratedMessage >
5353 < DropToUpload />
5454 < Heading >
55- Drag and drop your file
55+ Drag or paste your file
5656 </ Heading >
5757 < Content >
5858 Or, select a file from your computer
@@ -81,7 +81,7 @@ const ExampleWithFileTriggerRender = (args: DropZoneProps): ReactElement => {
8181 < IllustratedMessage >
8282 < Cloud />
8383 < Heading >
84- Drag and drop your file
84+ Drag or paste your file
8585 </ Heading >
8686 < Content >
8787 Or, select a file from your computer
@@ -117,7 +117,7 @@ const LongBannerRender = (args: DropZoneProps): ReactElement => {
117117 < IllustratedMessage >
118118 < DropToUpload />
119119 < Heading >
120- Drag and drop your file
120+ Drag or paste your file
121121 </ Heading >
122122 < Content >
123123 Or, select a file from your computer
@@ -146,7 +146,7 @@ const GradientRender = (args: DropZoneProps): ReactElement => {
146146 < IllustratedMessage >
147147 < CloudUpload />
148148 < Heading >
149- Drag and drop your file
149+ Drag or paste your file
150150 </ Heading >
151151 < Content >
152152 Or, select a file from your computer
You can’t perform that action at this time.
0 commit comments