{ "name": "Button", "tag": "wn-button", "group": "atoms", "description": "Button — extracted from designbook ui_kits/whynot-control/Atoms.jsx.", "props": [ { "name": "variant", "attribute": "variant", "type": "enum", "enum": [ "secondary", "primary", "ghost" ], "default": "secondary" }, { "name": "onClick", "type": "function", "attribute": false, "portable": false, "description": "React callback prop — surface as an event on attribute-driven stacks." }, { "name": "style", "type": "object", "attribute": false, "portable": false, "description": "React inline style override — not portable to an attribute." }, { "name": "icon", "attribute": "icon", "type": "boolean" } ], "slots": [ { "name": "default", "description": "Default content." } ], "events": [ { "name": "wn-click", "description": "Emitted for onClick." } ], "variants": [ { "axis": "variant", "values": [ "secondary", "primary", "ghost" ], "default": "secondary" } ], "docsRef": "designbook/ui_kits/whynot-control/Atoms.jsx", "exemplarRef": "ir/exemplars/Button.html" }