Function: useFitCount()
ts
function useFitCount(
options,
count,
fit?
): Layout;Compute a layout whose tiles are sized to give about count usable cells (see fitCount in @andamento/core). Options are compared by value; a cells function by identity.
Parameters
| Parameter | Type |
|---|---|
options | LayoutOptions |
count | number |
fit | FitOptions |