nixos-configs/nixosModules/ags-v2/config/widgets/misc/separator.tsx
matt1432 f522c984c4
All checks were successful
Discord / discord commits (push) Has been skipped
feat(agsV2): separate from agsV1
2024-10-30 23:43:37 -04:00

14 lines
272 B
TypeScript

import { Widget } from 'astal/gtk3';
export default ({
size,
vertical = false,
css = '',
...rest
}: { size: number } & Widget.BoxProps) => (
<box
css={`${vertical ? 'min-height' : 'min-width'}: ${size}px; ${css}`}
{...rest}
/>
);