40 lines
818 B
JSON
40 lines
818 B
JSON
|
|
{
|
||
|
|
"name": "Sidebar",
|
||
|
|
"tag": "wn-sidebar",
|
||
|
|
"group": "chrome",
|
||
|
|
"description": "Sidebar — extracted from designbook ui_kits/whynot-control/Chrome.jsx.",
|
||
|
|
"props": [
|
||
|
|
{
|
||
|
|
"name": "current",
|
||
|
|
"attribute": "current",
|
||
|
|
"type": "enum",
|
||
|
|
"enum": [
|
||
|
|
"doc:"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "onNav",
|
||
|
|
"type": "function",
|
||
|
|
"attribute": false,
|
||
|
|
"portable": false,
|
||
|
|
"description": "React callback prop — surface as an event on attribute-driven stacks."
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"events": [
|
||
|
|
{
|
||
|
|
"name": "wn-nav",
|
||
|
|
"description": "Emitted for onNav."
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"variants": [
|
||
|
|
{
|
||
|
|
"axis": "current",
|
||
|
|
"values": [
|
||
|
|
"doc:"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"docsRef": "designbook/ui_kits/whynot-control/Chrome.jsx",
|
||
|
|
"exemplarRef": "ir/exemplars/Sidebar.html"
|
||
|
|
}
|