feat: add suspense to workspace settings (#3167)

Co-authored-by: Qi <474021214@qq.com>
This commit is contained in:
Alex Yang
2023-07-11 23:50:30 +08:00
committed by GitHub
parent 37c8465af8
commit 3968deb6d4
11 changed files with 115 additions and 67 deletions
@@ -1,9 +1,9 @@
import type { FC, PropsWithChildren } from 'react';
import type { FC, PropsWithChildren, ReactNode } from 'react';
import { wrapper } from './share.css';
export const SettingWrapper: FC<
PropsWithChildren<{
title?: string;
title?: ReactNode;
}>
> = ({ title, children }) => {
return (