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:
Pascal Precht 2021-05-21 15:05:53 +02:00 committed by Michał Cieślak
parent efb34ee85a
commit ebb0b62005
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
import QtQuick 2.13
QtObject {
id: statusImageSettings
property url source
property real width
property real height
}

View File

@ -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