update 0.15.2

This commit is contained in:
yehuozhili
2022-04-29 23:43:03 +08:00
parent 7ae87f157e
commit 8ccf5289e5
15 changed files with 113 additions and 55 deletions

View File

@@ -2,7 +2,7 @@
* @Author: yehuozhili
* @Date: 2021-02-27 21:33:36
* @LastEditors: yehuozhili
* @LastEditTime: 2022-04-09 21:55:03
* @LastEditTime: 2022-04-29 23:35:58
* @FilePath: \dooringx\packages\dooringx-example\src\plugin\index.tsx
*/
@@ -29,13 +29,6 @@ const LeftRegistMap: LeftRegistComponentMapItem[] = [
img: 'https://img.guguzhu.com/d/file/android/ico/2021/09/08/rytzi2w34tm.png',
displayName: '输入框',
},
{
type: 'basic',
component: 'test',
img: 'https://img.guguzhu.com/d/file/android/ico/2021/09/08/rytzi2w34tm.png',
displayName: '测试',
urlFn: () => import('./registComponents/testCo'),
},
];
export const defaultConfig: Partial<InitConfig> = {

View File

@@ -1,17 +0,0 @@
import { ComponentItemFactory } from 'dooringx-lib';
const TestCo = new ComponentItemFactory(
'test',
'测试组件',
{},
{
width: 200,
height: 55,
},
() => {
return <div></div>;
},
true
);
export default TestCo;