본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Action List

원문 보기 위키 갱신

버튼이나 액션들을 한 줄로 묶어 정렬해 주는 컴포넌트예요. 여러 그룹, 아이콘, 취소 버튼, 세로 배치 등 다양한 레이아웃을 지원해요.

출처: 문서

본문

예시 (Examples)

단일 그룹 Action list (Action list single group)

  • 케밥(kebab) 포함

아이콘 포함 Action list (Action list with icons)

  • 목록 아이콘 래퍼 포함 (With list icons wrapper)
  • 그룹 아이콘 래퍼 포함 (With group icons wrapper)

여러 그룹 Action list (Action list multiple groups)

취소 버튼이 있는 Action list (Action list with cancel button)

  • 모달, 폼, 데이터 목록에서 (In modals, forms, data lists)
  • 마법사에서 (In wizards)

세로 Action list (Vertical action list)

  • 여러 그룹 (Multiple groups)
  • 두 그룹의 아이콘 (Icons, in two groups)

Props

ActionList

*필수 (required)

Name Type Default Description
children React.ReactNode Action list의 자식(child) 요소예요.
className string Action list에 추가되는 클래스예요.
isIconList boolean Action list에 여러 아이콘이 포함되어 항목 패딩을 제거해야 함을 나타내는 플래그예요.
isVertical Beta boolean false 자식 요소의 레이아웃이 세로인지 가로인지를 결정해요.

ActionListGroup

*필수 (required)

Name Type Default Description
children React.ReactNode Action list 그룹의 자식 요소예요.
className string Action list 그룹에 추가되는 클래스예요.
isIconGroup boolean Action list 그룹에 여러 아이콘이 포함되어 항목 패딩을 제거해야 함을 나타내는 플래그예요.

ActionListItem

*필수 (required)

Name Type Default Description
children React.ReactNode Action list 항목의 자식 요소예요.
className string Action list 항목에 추가되는 클래스예요.

이 페이지를 GitHub에서 편집

더 알아보기 (Learn more)