Pascal Precht
|
a3fe02d0ce
|
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
|
2021-05-25 13:52:25 +02:00 |