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

This commit is contained in:
Himself65
2023-06-04 23:33:36 +08:00
committed by GitHub
parent acda594cba
commit 1716e7a397
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,