chenzhaoyang
2025-12-17 94061671a5689bce6d8570ed168af2e79d391773
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>
  );
};