Implement Setting Dialog - Work in Progress
This commit is contained in:
16
widget/settings/shared/Header.ts
Normal file
16
widget/settings/shared/Header.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export const Header = (headerName: string) => {
|
||||
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