1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
3
4component TestComponent {
5 in-out property <bool> check;
6}
7
8export component App inherits Window {
9 min-width: 800px;
10 min-height: 600px;
11 title: "Test";
12
13 Rectangle {
14 i-test := TestComponent {}
15
16 if (i-test.check) : Rectangle { }
17 }
18}