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

About Modal

원문 보기 위키 갱신

애플리케이션의 제품 정보, 브랜드 이미지, 상표 정보 등을 보여주는 모달 컴포넌트예요. 브랜드 이미지와 배경 이미지를 포함해 제품 소개 화면을 만들 수 있어요.

출처: 문서

본문

예시 (Examples)

기본 (Basic)

제품명 없이 (Without product name)

복잡한 사용자 배치 내용 (Complex user positioned content)

Props

AboutModal

*필수 (required)

Name Type Default Description
brandImageAlt*required string 브랜드 이미지의 대체 텍스트예요.
brandImageSrc*required string 브랜드 이미지의 URL이에요.
children*required React.ReactNode About modal 안에 렌더링되는 내용이에요.
appendTo HTMLElement | (() => HTMLElement) 모달을 추가할 부모 컨테이너예요. 기본값은 document.body예요.
aria-label string About modal의 aria label이에요. productName prop이 제공되지 않을 때 사용해야 해요.
backgroundImageSrc string 배경으로 사용할 이미지의 URL이나 파일 경로예요.
className string About modal에 추가되는 클래스예요.
closeButtonAriaLabel string 닫기 버튼에 설정할 aria label이에요.
disableFocusTrap boolean 포커스 트랩을 비활성화하는 플래그예요.
hasNoContentContainer boolean false About modal이 컨테이너 안에 내용을 렌더링하지 않게 해요. 더 유연한 레이아웃을 가능하게 해요.
isOpen boolean false About modal을 표시할지 결정하는 플래그예요.
onClose (event: React.MouseEvent | MouseEvent | KeyboardEvent) => void (_e): any => undefined 닫기 버튼을 클릭했을 때 호출되는 콜백이에요.
productName string 제품 이름이에요.
trademark string 상표 정보예요.

이 페이지를 GitHub에서 편집

더 알아보기 (Learn more)