feat: add letter avatar

This commit is contained in:
tzhangchi
2023-01-06 01:04:52 +08:00
parent 900d95fa87
commit eb2d3d5d40
2 changed files with 39 additions and 28 deletions
@@ -9,7 +9,7 @@ interface ICloseParams {
}
interface ModalProps {
open: boolean;
onClose: (opts?: ICloseParams) => void;
onClose: (opts: ICloseParams) => void;
}
export const CreateWorkspaceModal = ({ open, onClose }: ModalProps) => {
@@ -28,7 +28,7 @@ export const CreateWorkspaceModal = ({ open, onClose }: ModalProps) => {
top={6}
right={6}
onClick={() => {
onClose();
onClose({});
}}
/>
</Header>