lib/cli/src/frameworks/server/button.stories.json
{
"title": "Example/Button",
"parameters": {
"server": { "id": "button" }
},
"args": { "label": "Button" },
"argTypes": {
"label": { "control": "text" },
"primary": { "control": "boolean" },
"backgroundColor": { "control": "color" },
"size": {
"control": { "type": "select", "options": ["small", "medium", "large"] }
}
},
"stories": [
{
"name": "Primary",
"args": { "primary": true }
},
{
"name": "Secondary"
},
{
"name": "Large",
"args": { "size": "large" }
},
{
"name": "Small",
"args": { "size": "small" }
}
]
}