Files
FastGPT/client/src/components/WxConcat/index.tsx
2023-07-26 16:01:21 +08:00

28 lines
709 B
TypeScript

import React from 'react';
import { Button, ModalFooter, ModalBody, Image } from '@chakra-ui/react';
import MyModal from '../MyModal';
const WxConcat = ({ onClose }: { onClose: () => void }) => {
return (
<MyModal isOpen={true} onClose={onClose} title={'联系方式-wx'}>
<ModalBody textAlign={'center'}>
<Image
style={{ margin: 'auto' }}
src={'https://otnvvf-imgs.oss.laf.run/wx300.jpg'}
width={'200px'}
height={'200px'}
alt=""
/>
</ModalBody>
<ModalFooter>
<Button variant={'base'} onClick={onClose}>
</Button>
</ModalFooter>
</MyModal>
);
};
export default WxConcat;