diff --git a/packages/samples/hello/src/client/index.tsx b/packages/samples/hello/src/client/index.tsx index aa2b45d59..7df392ca6 100644 --- a/packages/samples/hello/src/client/index.tsx +++ b/packages/samples/hello/src/client/index.tsx @@ -1,5 +1,10 @@ import { TableOutlined } from '@ant-design/icons'; -import { SchemaComponentOptions, SchemaInitializer, SchemaInitializerContext } from '@nocobase/client'; +import { + SchemaComponentOptions, + SchemaInitializer, + SchemaInitializerContext, SettingsCenterProvider +} from '@nocobase/client'; +import { Card } from 'antd'; import React, { useContext } from 'react'; import { useTranslation } from 'react-i18next'; import { HelloDesigner } from './HelloDesigner'; @@ -40,8 +45,23 @@ export default React.memo((props) => { component: 'HelloBlockInitializer', }); return ( - - {props.children} - + Hello Settings, + }, + }, + }, + }} + > + + {props.children} + + ); });