feat(Core): introduce `StatusImageSettings`
Very similar to what we're doing with `StatusIconSettings` in https://github.com/status-im/StatusQ/pull/61, this commit introduces `StatusImageSettings` to expose a consisten image API across components.
This commit is contained in:
parent
efb34ee85a
commit
ebb0b62005
|
@ -0,0 +1,10 @@
|
|||
import QtQuick 2.13
|
||||
|
||||
QtObject {
|
||||
id: statusImageSettings
|
||||
|
||||
property url source
|
||||
property real width
|
||||
property real height
|
||||
}
|
||||
|
|
@ -3,4 +3,5 @@ module StatusQ.Core
|
|||
StatusBaseText 0.1 StatusBaseText.qml
|
||||
StatusIcon 0.1 StatusIcon.qml
|
||||
StatusIconSettings 0.1 StatusIconSettings.qml
|
||||
StatusImageSettings 0.1 StatusImageSettings.qml
|
||||
|
||||
|
|
Loading…
Reference in New Issue