fix(FN-4549): keep layout defaults optional for measured heights
Fusion-Task-Id: FN-4549 Fusion-Task-Lineage: 7c6b974d-cad9-418c-bf02-9d8490725c6e
This commit is contained in:
@@ -13,7 +13,7 @@ export interface LayoutOptions {
|
|||||||
measuredHeights?: ReadonlyMap<string, number>;
|
measuredHeights?: ReadonlyMap<string, number>;
|
||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_LAYOUT_OPTIONS: Required<LayoutOptions> = {
|
const DEFAULT_LAYOUT_OPTIONS: Omit<Required<LayoutOptions>, "measuredHeights"> = {
|
||||||
nodeWidth: 280,
|
nodeWidth: 280,
|
||||||
nodeHeight: 100,
|
nodeHeight: 100,
|
||||||
horizontalGap: 40,
|
horizontalGap: 40,
|
||||||
|
|||||||
Reference in New Issue
Block a user