nixos-configs/nixosModules/ags/v2/widgets/misc/separator.tsx
matt1432 5481ec544b
All checks were successful
Discord / discord commits (push) Has been skipped
feat(agsV2): fix breaking changes and add notification impl
2024-10-15 20:01:20 -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}
/>
);