@@ -29,9 +29,7 @@ keywords: [illustrated message]
29
29
30
30
<p>{docs.exports.IllustratedMessage.description}</p>
31
31
32
- <HeaderInfo
33
- packageData = { packageData }
34
- componentNames = { [' IllustratedMessage' ]} />
32
+ <HeaderInfo packageData = { packageData } componentNames = { [' IllustratedMessage' ]} />
35
33
36
34
## Example
37
35
@@ -40,7 +38,7 @@ import NotFound from '@spectrum-icons/illustrations/NotFound';
40
38
41
39
<IllustratedMessage >
42
40
<NotFound />
43
- <Heading >No Results </Heading >
41
+ <Heading >No results </Heading >
44
42
<Content >Try another search</Content >
45
43
</IllustratedMessage >
46
44
```
@@ -56,7 +54,7 @@ import Upload from '@spectrum-icons/illustrations/Upload';
56
54
57
55
<IllustratedMessage >
58
56
<Upload />
59
- <Heading >Drag and Drop Your File </Heading >
57
+ <Heading >Drag and Drop your file </Heading >
60
58
<Content >Select a File from your computer<br /> or Search Adobe Stock</Content >
61
59
</IllustratedMessage >
62
60
```
@@ -83,10 +81,22 @@ If you pass an SVG in yourself, you'll need to ensure that the `role` prop is se
83
81
84
82
<PropTable component = { docs .exports .IllustratedMessage } links = { docs .links } />
85
83
86
- ## Example Illustrations
84
+ ## Example illustrations
87
85
88
86
The below examples make use of illustrations included in the [ @spectrum-icons/illustrations ] ( http://npmjs.com/@spectrum-icons/illustrations ) package.
89
87
88
+ ### No search results
89
+
90
+ ``` tsx example
91
+ import NoSearchResults from ' @spectrum-icons/illustrations/NoSearchResults' ;
92
+
93
+ <IllustratedMessage >
94
+ <NoSearchResults />
95
+ <Heading >No matching results</Heading >
96
+ <Content >Try another search.</Content >
97
+ </IllustratedMessage >
98
+ ```
99
+
90
100
### 403 Forbidden
91
101
92
102
``` tsx example
@@ -99,7 +109,7 @@ import Unauthorized from '@spectrum-icons/illustrations/Unauthorized';
99
109
</IllustratedMessage >
100
110
```
101
111
102
- ### 404 Not Found
112
+ ### 404 Not found
103
113
104
114
``` tsx example
105
115
<IllustratedMessage >
@@ -109,7 +119,7 @@ import Unauthorized from '@spectrum-icons/illustrations/Unauthorized';
109
119
</IllustratedMessage >
110
120
```
111
121
112
- ### 500 Internal Server Error
122
+ ### 500 Internal server error
113
123
114
124
``` tsx example
115
125
import Error from ' @spectrum-icons/illustrations/Error' ;
@@ -121,26 +131,26 @@ import Error from '@spectrum-icons/illustrations/Error';
121
131
</IllustratedMessage >
122
132
```
123
133
124
- ### 503 Service Unavailable
134
+ ### 503 Service unavailable
125
135
126
136
``` tsx example
127
137
import Unavailable from ' @spectrum-icons/illustrations/Unavailable' ;
128
138
129
139
<IllustratedMessage >
130
140
<Unavailable />
131
- <Heading >Error 503: Service Unavailable </Heading >
141
+ <Heading >Error 503: Service unavailable </Heading >
132
142
<Content >This page isn't working. Try a different page or try again later.</Content >
133
143
</IllustratedMessage >
134
144
```
135
145
136
- ### 504 Gateway Timeout
146
+ ### 504 Gateway timeout
137
147
138
148
``` tsx example
139
149
import Timeout from ' @spectrum-icons/illustrations/Timeout' ;
140
150
141
151
<IllustratedMessage >
142
152
<Timeout />
143
- <Heading >Error 504: Server Timeout </Heading >
153
+ <Heading >Error 504: Server timeout </Heading >
144
154
<Content >The server took too long. Please try again later.</Content >
145
155
</IllustratedMessage >
146
156
```
0 commit comments