* Eslint updates * linter fixes * Type fixes * More type fixes * Fix isvis * More type fixes * Type Fixes * Consolidate logic to manage options * Linter fixes * Package lock update * Update configs * Version checker * Debug pipeline * Package lock update * Update ci * Strict check * Revert ci * Eslint * Remove rule since it causes issues in CI * Actual matugen fix
23 lines
571 B
TypeScript
23 lines
571 B
TypeScript
import { Gtk } from 'astal/gtk3';
|
|
import { Controls } from './Controls';
|
|
|
|
export const Header = (): JSX.Element => {
|
|
const MenuLabel = (): JSX.Element => {
|
|
return (
|
|
<label
|
|
className="menu-label"
|
|
valign={Gtk.Align.CENTER}
|
|
halign={Gtk.Align.START}
|
|
label="Bluetooth"
|
|
/>
|
|
);
|
|
};
|
|
|
|
return (
|
|
<box className="menu-label-container" halign={Gtk.Align.FILL} valign={Gtk.Align.START}>
|
|
<MenuLabel />
|
|
<Controls />
|
|
</box>
|
|
);
|
|
};
|