| | |
| | | import type { NotionPage } from '@/models/common' |
| | | import cn from '@/utils/classnames' |
| | | import Modal from '@/app/components/base/modal' |
| | | import { noop } from 'lodash-es' |
| | | |
| | | type NotionPageSelectorModalProps = { |
| | | isShow: boolean |
| | |
| | | <Modal |
| | | className={s.modal} |
| | | isShow={isShow} |
| | | onClose={noop} |
| | | onClose={() => { }} |
| | | > |
| | | <div className='mb-6 flex h-8 items-center justify-between'> |
| | | <div className='flex items-center justify-between mb-6 h-8'> |
| | | <div className='text-xl font-semibold text-gray-900'>{t('common.dataSource.notion.selector.addPages')}</div> |
| | | <div |
| | | className='-mr-2 flex h-8 w-8 cursor-pointer items-center justify-center' |
| | | className='flex items-center justify-center -mr-2 w-8 h-8 cursor-pointer' |
| | | onClick={handleClose}> |
| | | <XMarkIcon className='h-4 w-4' /> |
| | | <XMarkIcon className='w-4 h-4' /> |
| | | </div> |
| | | </div> |
| | | <NotionPageSelector |