mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 13:16:11 +01:00
restore banner
This commit is contained in:
1 parent
1e1040816b
commit
edc3aba545
32 files changed
+90
-26
No files matched your search
@@ -1,3 +1,7 @@
|
||||
.flex {
|
||||
display: flex;
|
||||
|
||||
&[data-column="true"] {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
@@ -5,14 +5,16 @@ import styles from "./index.module.css";
|
||||
|
||||
interface Props extends ComponentProps<"div"> {
|
||||
gap?: Space;
|
||||
column?: boolean;
|
||||
}
|
||||
|
||||
export function Flex({ children, className, gap, ...props }: Props) {
|
||||
export function Flex({ children, column, className, gap, ...props }: Props) {
|
||||
return (
|
||||
<div
|
||||
{...props}
|
||||
className={classNames(styles.flex, className)}
|
||||
data-gap={gap}
|
||||
data-column={column}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user