nixos-configs/nixosModules/ags/v2/widgets/misc/separator.tsx
matt1432 79e6a55583
All checks were successful
Discord / discord commits (push) Has been skipped
feat(agsV2): implement battery widget
2024-09-26 23:55:06 -04:00

14 lines
267 B
TypeScript

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