nixos-configs/modules/ags/gtk4/widgets/misc/separator.ts
matt1432 557e4c7a52
All checks were successful
Discord / discord commits (push) Has been skipped
feat(ags4): implement lockscreen
2025-01-25 02:28:34 -05:00

12 lines
273 B
TypeScript

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