hyprpanel
This commit is contained in:
1 parent
10080a83ee
commit
5151ac24da
322 files changed
+38276
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { GBox } from 'lib/types/widget';
|
||||
|
||||
export const Header = (headerName: string): GBox => {
|
||||
return Widget.Box({
|
||||
class_name: 'options-header',
|
||||
children: [
|
||||
Widget.Label({
|
||||
class_name: 'label-name',
|
||||
label: headerName,
|
||||
}),
|
||||
Widget.Separator({
|
||||
vpack: 'center',
|
||||
hexpand: true,
|
||||
class_name: 'menu-separator',
|
||||
}),
|
||||
],
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user