mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 09:59:55 +08:00
feat: add outline plugin (#3624)
Co-authored-by: codert <codert.sn@gmail.com>
(cherry picked from commit 6f9dfcc3c1)
This commit is contained in:
@@ -33,6 +33,7 @@ export type LayoutParentNode = {
|
||||
splitPercentage: number; // 0 - 100
|
||||
first: string;
|
||||
second: LayoutNode;
|
||||
maxWidth?: (number | undefined)[];
|
||||
};
|
||||
|
||||
export type ExpectedLayout =
|
||||
@@ -48,7 +49,14 @@ export type ExpectedLayout =
|
||||
|
||||
export declare const pushLayoutAtom: WritableAtom<
|
||||
null,
|
||||
[string, (div: HTMLDivElement) => () => void],
|
||||
| [
|
||||
string,
|
||||
(div: HTMLDivElement) => () => void,
|
||||
{
|
||||
maxWidth: (number | undefined)[];
|
||||
},
|
||||
]
|
||||
| [string, (div: HTMLDivElement) => () => void],
|
||||
void
|
||||
>;
|
||||
export declare const deleteLayoutAtom: WritableAtom<null, [string], void>;
|
||||
|
||||
Reference in New Issue
Block a user