function onResize(onresize = false) {
    if (!mergedConfig) return

    const heights = calcHeights(mergedConfig, onresize)

    if (heights !== undefined) {
      Object.assign(stateRef.current, { heights })
      setState(state => ({ ...state, heights }))
    }
  }
@description Value formatter
@type {Function}
@default valueFormatter = null