feat: init @affine/copilot (#2511)

This commit is contained in:
Himself65
2023-05-30 18:02:49 +08:00
parent e7e447d0e1
commit a7ac6562b0
49 changed files with 2963 additions and 1331 deletions

View File

@@ -0,0 +1,12 @@
import type { PluginUIAdapter } from '@toeverything/plugin-infra/type';
import { createElement } from 'react';
import { DebugContent } from './debug-content';
import { DetailContent } from './detail-content';
import { HeaderItem } from './header-item';
export default {
headerItem: props => createElement(HeaderItem, props),
detailContent: props => createElement(DetailContent, props),
debugContent: props => createElement(DebugContent, props),
} satisfies Partial<PluginUIAdapter>;