@justeattakeaway/pie-toast 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/react.d.ts +2 -2
- package/package.json +1 -1
- package/src/defs.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -209,7 +209,7 @@ export declare interface ToastProps {
|
|
|
209
209
|
*/
|
|
210
210
|
message: string;
|
|
211
211
|
/**
|
|
212
|
-
*
|
|
212
|
+
* Allows the message content to be displayed as multiline, limited to three rows.
|
|
213
213
|
*/
|
|
214
214
|
isMultiline?: boolean;
|
|
215
215
|
/**
|
|
@@ -219,7 +219,7 @@ export declare interface ToastProps {
|
|
|
219
219
|
/**
|
|
220
220
|
* Sets the duration of the toast in milliseconds before it auto-dismisses.
|
|
221
221
|
* If the value is null auto-dismiss is disabled
|
|
222
|
-
* If the value is not provided it auto-dismisses after 5 seconds
|
|
222
|
+
* If the value is not provided it auto-dismisses after 5 seconds
|
|
223
223
|
*/
|
|
224
224
|
duration?: number | null;
|
|
225
225
|
}
|
package/dist/react.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ export declare interface ToastProps {
|
|
|
214
214
|
*/
|
|
215
215
|
message: string;
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Allows the message content to be displayed as multiline, limited to three rows.
|
|
218
218
|
*/
|
|
219
219
|
isMultiline?: boolean;
|
|
220
220
|
/**
|
|
@@ -224,7 +224,7 @@ export declare interface ToastProps {
|
|
|
224
224
|
/**
|
|
225
225
|
* Sets the duration of the toast in milliseconds before it auto-dismisses.
|
|
226
226
|
* If the value is null auto-dismiss is disabled
|
|
227
|
-
* If the value is not provided it auto-dismisses after 5 seconds
|
|
227
|
+
* If the value is not provided it auto-dismisses after 5 seconds
|
|
228
228
|
*/
|
|
229
229
|
duration?: number | null;
|
|
230
230
|
}
|
package/package.json
CHANGED
package/src/defs.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface ToastProps {
|
|
|
37
37
|
*/
|
|
38
38
|
message: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Allows the message content to be displayed as multiline, limited to three rows.
|
|
41
41
|
*/
|
|
42
42
|
isMultiline?: boolean;
|
|
43
43
|
/**
|
|
@@ -48,7 +48,7 @@ export interface ToastProps {
|
|
|
48
48
|
/**
|
|
49
49
|
* Sets the duration of the toast in milliseconds before it auto-dismisses.
|
|
50
50
|
* If the value is null auto-dismiss is disabled
|
|
51
|
-
* If the value is not provided it auto-dismisses after 5 seconds
|
|
51
|
+
* If the value is not provided it auto-dismisses after 5 seconds
|
|
52
52
|
*/
|
|
53
53
|
duration?: number | null;
|
|
54
54
|
}
|