feat: 컴포넌트 추가, 스타일 수정
This commit is contained in:
25
web-app/app/shared/components/modal/index.ts
Normal file
25
web-app/app/shared/components/modal/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import {
|
||||
ModalBody,
|
||||
ModalFooter,
|
||||
ModalHeader,
|
||||
ModalRegion as ModalRegionPrimitive,
|
||||
ModalRoot,
|
||||
alert,
|
||||
confirm,
|
||||
} from './Modal';
|
||||
|
||||
export const Modal = Object.assign(ModalRoot, {
|
||||
Header: ModalHeader,
|
||||
Body: ModalBody,
|
||||
Footer: ModalFooter,
|
||||
});
|
||||
|
||||
export const ModalRegion = Object.assign(ModalRegionPrimitive, {
|
||||
alert,
|
||||
confirm,
|
||||
});
|
||||
|
||||
export { useModal } from './useModal';
|
||||
export { ModalRenderer } from './ModalRenderer';
|
||||
export { AlertModal } from './AlertModal';
|
||||
export { ConfirmModal } from './ConfirmModal';
|
||||
Reference in New Issue
Block a user