import QtQuick 2.4
import Ubuntu.Components 1.3
import Dekko.Theme 0.2

ListItem {
    id: listItem
    property string text
    property alias checked: dekkoSwitch.checked
    height: layout.implicitHeight
    ListItemLayout {
        id: layout
        title.text: listItem.text
        title.font.weight: Style.common.fontWeight

        Switch {
            id: dekkoSwitch
        }
    }
}

