mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
migrate tank filters
This commit is contained in:
1 parent
d477a3a7a4
commit
1e1040816b
13 files changed
+153
-60
No files matched your search
@@ -0,0 +1,3 @@
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { ComponentProps } from "react";
|
||||
import type { Space } from "../../types/space";
|
||||
import { classNames } from "../../ui/classNames";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
interface Props extends ComponentProps<"div"> {
|
||||
gap?: Space;
|
||||
}
|
||||
|
||||
export function Flex({ children, className, gap, ...props }: Props) {
|
||||
return (
|
||||
<div
|
||||
{...props}
|
||||
className={classNames(styles.flex, className)}
|
||||
data-gap={gap}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user