update components
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s
This commit is contained in:
@@ -44,7 +44,22 @@ mount(
|
||||
'#demo-indicator'
|
||||
);
|
||||
```
|
||||
## List
|
||||
<div id="demo-list"></div>
|
||||
|
||||
```js
|
||||
const items = $(['Dashboard', 'Settings', 'Help'])
|
||||
|
||||
mount(
|
||||
List({ class: 'bg-base-200 rounded-box p-2' },
|
||||
ListRows({
|
||||
items,
|
||||
render: (item) => span({ class: 'font-bold' }, item)
|
||||
})
|
||||
),
|
||||
'#demo-list'
|
||||
)
|
||||
```
|
||||
## Stack
|
||||
<div id="demo-stack"></div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user