We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ce0190 + ad92607 commit 1c48367Copy full SHA for 1c48367
src/validation.ts
@@ -260,6 +260,7 @@ export function validateModal(modal: ReadyModal): never | void {
260
eventCode,
261
action,
262
icon,
263
+ loading,
264
...otherParams
265
} = modal
266
@@ -295,6 +296,13 @@ export function validateModal(modal: ReadyModal): never | void {
295
296
optional: true
297
})
298
299
+ validateType({
300
+ name: 'loading',
301
+ value: loading,
302
+ type: 'object',
303
+ optional: true
304
+ })
305
+
306
validateType({
307
name: 'button',
308
value: button,
0 commit comments