This commit is contained in:
2026-01-30 12:56:00 +08:00
parent 91f24cb462
commit dcbbda951e
89 changed files with 13486 additions and 72 deletions

View File

@@ -0,0 +1,20 @@
import { Theme } from "../theme/theme.slint";
export enum Orientation {
horizontal,
vertical,
}
export component Separator {
in property <Orientation> orientation: Orientation.horizontal;
if orientation == Orientation.horizontal: Rectangle {
height: 1px;
background: Theme.colors.border;
}
if orientation == Orientation.vertical: Rectangle {
width: 1px;
background: Theme.colors.border;
}
}