Skip to content

Commit 89841b9

Browse files
committed
docs: update docs by tdesign-api
1 parent befd25b commit 89841b9

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/toast/README.en-US.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ name | params | description
2525
-- | -- | --
2626
close | \- | \-
2727
destroy | \- | \-
28+
2829
### Toast External Classes
2930

3031
className | Description

src/toast/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ using-custom-navbar | Boolean | false | 是否使用了自定义导航栏 | N
6262
-- | -- | --
6363
close | \- | 轻提示隐藏的时候触发
6464
destroy | \- | 轻提示销毁的时候触发
65+
6566
### Toast External Classes
6667

6768
类名 | 描述

src/toast/type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface TdToastProps {
7373
*/
7474
theme?: {
7575
type: StringConstructor;
76-
value?: 'loading' | 'success' | 'error';
76+
value?: 'loading' | 'success' | 'warning' | 'error';
7777
};
7878
/**
7979
* 是否使用了自定义导航栏

0 commit comments

Comments
 (0)