calculateDividerStyles()
calculateDividerStyles(
divider,computedStyles):Record<string,string>
Calculates the CSS styles needed for a divider element. Handles positioning, transforms, and sizing based on divider type and grid gaps.
Parameters
| Parameter | Type | Description |
|---|---|---|
divider | GridDividerInfo | The divider information |
computedStyles | CSSStyleDeclaration | The computed styles of the grid element |
Returns
Record<string, string>
Object with CSS properties for the divider