feat: first

This commit is contained in:
EleanorMao
2023-04-22 23:00:38 +08:00
parent edf473c172
commit 5ae1d9c5b2
44 changed files with 10913 additions and 16089 deletions

View File

@ -0,0 +1,8 @@
import React, { FC } from 'react'
import { Modal as AntdModal, ModalProps as AntdModalProps } from 'antd'
import { ReactComponent as CloseIcon } from '../../icons/close.svg'
export type ModalProps = Omit<AntdModalProps, 'footer' | 'closeIcon' | 'title' | 'okText' | 'okType' | 'okButtonProps' | 'cancelText' | 'cancelButtonProps'>
export const Modal: FC<ModalProps> = (props) => {
return <AntdModal centered {...props} footer={null} closeIcon={<CloseIcon />} />
}

View File

@ -0,0 +1 @@
export * from './Modal'