1
2
3
4
5
6
7
8
9
10
11
12
13
| import { cn } from "../../utils/bem";
| import "./Space.scss";
|
| export const Space = ({ direction = "horizontal", size, className, style, children, spread, stretch, align }) => {
| return (
| <div
| className={cn("space-ls").mod({ direction, size, spread, stretch, align }).mix(className).toClassName()}
| style={style}
| >
| {children}
| </div>
| );
| };
|
|