Pascal Precht
|
fcb6847cc9
|
feat(Components): introduce `StatusListItem` component
This introduces a base list item component that is used in many different
places across Status Desktop. The component is configurable and allows for
child component customization.
Usage:
```qml
StatusListItem {
title: "Title"
}
StatusListItem {
title: "Title"
subTitle: "Subtitle"
}
StatusListItem {
title: "Title"
subTitle: "Subtitle"
icon.name: "info"
}
StatusListItem {
title: "Title"
subTitle: "Subtitle"
image.source: "..."
}
StatusListItem {
title: "Title"
subTitle: "Subtitle"
image.source: "..."
label: "Some label"
}
StatusListItem {
title: "Title"
subTitle: "Subtitle"
icon.name: "info"
label: "Some label"
components: [
StatusButton {
text: "Button"
size: StatusBaseButton.Size.Small
}
...
]
}
```
Closes #19
|
2022-09-21 18:20:02 +02:00 |