code: function triggerResize(callback) {
      const { animateContent, checked } = callback.getState()
      if ((animateContent === 'height' && checked) || (animateContent === 'marginTop' && !checked)) {
          callback()
      }
  }
docs: optimized only to be called on panels that actively can do transitions