Skip to content

Commit 2bc3896

Browse files
authored
fix: add button width to validator schema (#745)
1 parent dcffe83 commit 2bc3896

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/schema/validators/common.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,10 @@ export const ButtonProps = {
461461
type: 'string',
462462
enum: ['_self', '_blank', '_parent', '_top'],
463463
},
464+
width: {
465+
type: 'string',
466+
enum: ['auto', 'max'],
467+
},
464468
};
465469

466470
export const MenuProps = {

0 commit comments

Comments
 (0)