fix(playground): make every prop except preset to defaultly disabled
This commit is contained in:
parent
ba344d4159
commit
bcac697a04
@ -17,17 +17,19 @@ export default function ButtonPlayground() {
|
|||||||
preset: {
|
preset: {
|
||||||
type: "select",
|
type: "select",
|
||||||
options: ["default", "ghost", "link", "success", "warning", "danger"],
|
options: ["default", "ghost", "link", "success", "warning", "danger"],
|
||||||
value: "ghost",
|
value: "default",
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
type: "select",
|
type: "select",
|
||||||
options: ["link", "sm", "md", "lg", "icon"],
|
options: ["link", "sm", "md", "lg", "icon"],
|
||||||
value: "md",
|
value: "md",
|
||||||
|
disabled: true,
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "select",
|
type: "select",
|
||||||
options: ["none", "solid", "success", "warning", "danger"],
|
options: ["none", "solid", "success", "warning", "danger"],
|
||||||
value: "solid",
|
value: "solid",
|
||||||
|
disabled: true,
|
||||||
},
|
},
|
||||||
background: {
|
background: {
|
||||||
type: "select",
|
type: "select",
|
||||||
@ -40,15 +42,18 @@ export default function ButtonPlayground() {
|
|||||||
"transparent",
|
"transparent",
|
||||||
],
|
],
|
||||||
value: "default",
|
value: "default",
|
||||||
|
disabled: true,
|
||||||
},
|
},
|
||||||
decoration: {
|
decoration: {
|
||||||
type: "select",
|
type: "select",
|
||||||
options: ["none", "link"],
|
options: ["none", "link"],
|
||||||
value: "none",
|
value: "none",
|
||||||
|
disabled: true,
|
||||||
},
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
value: false,
|
value: false,
|
||||||
|
disabled: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user