SEED Design
Deprecated

Inline (Deprecated)

더 이상 사용되지 않습니다. `HStack`과 `wrap` prop을 사용하세요. 인라인 레이아웃을 구성합니다. 디자인 토큰을 JSX에서 사용할 수 있도록 도와줍니다.

import { Box, Inline } from "@seed-design/react";

/**
 * @deprecated Use `HStack` instead.
 */
export default function InlinePreview() {
  return (
    <Inline bg="bg.layerDefault" gap="x2" width="full" borderRadius="r2">
      <Box bg="bg.brandSolid" px="x4" py="x3" borderRadius="r2">
        1
      </Box>
      <Box bg="bg.brandSolid" px="x4" py="x3" borderRadius="r2">
        2
      </Box>
      <Box bg="bg.brandSolid" px="x4" py="x3" borderRadius="r2">
        3
      </Box>
    </Inline>
  );
}

Usage

import { Inline } from "@seed-design/react";
<Inline />

Props

Prop

Type

Last updated on

On this page