pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
12 lines (11 loc) • 388 B
TypeScript
export interface GridColProps {
span: number;
offset: number;
}
/**
* Determines the span and offset for Grid.Col based on the number of visuals in a row.
*
* @param numVisuals - Number of visuals in the current row.
* @returns An object containing `span` and `offset` values.
*/
export declare const getGridColProps: (numVisuals: number, visualIdx: number) => GridColProps;