Skip to content

Commit

Permalink
docs(toast): formatting (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-ellington authored Feb 16, 2023
1 parent bb1e6db commit 1306ddf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
| Name | Description | Type | Default |
| -------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | ------------ | ----------- |
| autoClose | <div className="Api__Table"><div>Autoclose behavior</div><div className="Api__Table Docs__Tags"></div></div> | `boolean` | `true` |
| autoCloseDelay | <div className="Api__Table"><div>Autoclose title after delay</div><div className="Api__Table Docs__Tags"></div></div> | `number` | `5000` |
| icon | <div className="Api__Table"><div>Icon of toast</div><div className="Api__Table Docs__Tags"></div></div> | `string` | `undefined` |
| iconColor | <div className="Api__Table"><div>Icon color of toast</div><div className="Api__Table Docs__Tags"></div></div> | `string` | `undefined` |
| message | <div className="Api__Table"><div>Toast message</div><div className="Api__Table Docs__Tags"></div></div> | `"string" | "HTMLElement"` | `undefined` |
| title | <div className="Api__Table"><div>Toast title</div><div className="Api__Table Docs__Tags"></div></div> | `string` | `undefined` |
| type | <div className="Api__Table"><div>Toast type</div><div className="Api__Table Docs__Tags"></div></div> | `"error" | "info" | "success" | "warning"` | `'info'` |
| Name | Description | Type | Default |
| -------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- | ----------- |
| autoClose | <div className="Api__Table"><div>Autoclose behavior</div><div className="Api__Table Docs__Tags"></div></div> | `boolean` | `true` |
| autoCloseDelay | <div className="Api__Table"><div>Autoclose title after delay</div><div className="Api__Table Docs__Tags"></div></div> | `number` | `5000` |
| icon | <div className="Api__Table"><div>Icon of toast</div><div className="Api__Table Docs__Tags"></div></div> | `string` | `undefined` |
| iconColor | <div className="Api__Table"><div>Icon color of toast</div><div className="Api__Table Docs__Tags"></div></div> | `string` | `undefined` |
| message | <div className="Api__Table"><div>Toast message</div><div className="Api__Table Docs__Tags"></div></div> | `"string" | "HTMLElement"` | `undefined` |
| title | <div className="Api__Table"><div>Toast title</div><div className="Api__Table Docs__Tags"></div></div> | `string` | `undefined` |
| type | <div className="Api__Table"><div>Toast type</div><div className="Api__Table Docs__Tags"></div></div> | `"error" | "info" | "success" | "warning"` | `'info'` |
1 change: 0 additions & 1 deletion packages/documentation/docs/controls/toast.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ frameworks={{
<TabItem value="JavaScript">
<h3>ToastConfig</h3>
<ApiToastConfigJavaScript />
<h3>Toast instance events</h3>
</TabItem>
</Tabs>

0 comments on commit 1306ddf

Please sign in to comment.