React

Content Placeholder

이미지나 콘텐츠가 로드되지 않았을 때, 해당 영역의 성격을 전달하는 대체 시각 요소입니다.

Usage

Installation

npx @seed-design/cli@latest add ui:content-placeholder

Props

Prop

Type

Examples

Type Preset

type을 지정하여 미리 정의된 프리셋 아이콘과 배경을 사용할 수 있습니다. type을 지정하지 않는 경우 "default" 타입이 렌더링됩니다.

Sizes

컴포넌트에 widthheight를 직접 지정하여 다양한 크기로 사용할 수 있습니다.

Customizing Asset

  • children을 전달하여 type 프리셋에 없는 아이콘을 사용할 수 있습니다.

Last updated on

On this page