routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
export type IndentLinesVariant = 'default' | 'simple';
|
||||
export type IndentLineType = 'leaf' | 'last-leaf' | 'line' | 'leaf-link' | 'none';
|
||||
export type IndentLinesOptions = {
|
||||
depth: number;
|
||||
isLast: boolean;
|
||||
isLastGroup: boolean;
|
||||
leafLinks: boolean;
|
||||
separateRoots: boolean;
|
||||
parentIndentLines: IndentLineType[] | undefined;
|
||||
variant: IndentLinesVariant | undefined;
|
||||
};
|
||||
export type IndentLines = {
|
||||
leaf: IndentLineType[] | undefined;
|
||||
node: IndentLineType[] | undefined;
|
||||
children: IndentLineType[] | undefined;
|
||||
footer: IndentLineType[] | undefined;
|
||||
};
|
||||
export declare function getIndentLines({ depth, isLast, isLastGroup, leafLinks, separateRoots, parentIndentLines, variant }: IndentLinesOptions): IndentLines;
|
||||
Reference in New Issue
Block a user