fix: use react-resizable-panels (#2679)

(cherry picked from commit 1716e7a397)
This commit is contained in:
Himself65
2023-06-04 23:33:36 +08:00
committed by himself65
parent 42c7c367ab
commit 0332796e6d
6 changed files with 88 additions and 165 deletions

View File

@@ -16,7 +16,7 @@ export const HeaderItem: PluginUIAdapter['headerItem'] = ({
setLayout(layout => {
if (layout === 'editor') {
return {
direction: 'row',
direction: 'horizontal',
first: 'editor',
second: 'com.affine.copilot',
splitPercentage: 80,