"use strict";

import { useCallback, useState } from "react";
/**
 * Custom hook to handle the `FooterActions` measurements
 * @returns
 *   - `footerActionsInlineMeasurements`
 *      Object containing the `FooterActionsInline` measurements
 *   - `handleFooterActionsInlineMeasurements`
 *      Function to update the footer actions measurements
 *      (to be applied to `onMeasure` prop of `FooterActionsInline`)
 */
export const useFooterActionsInlineMeasurements = () => {
  const [footerActionsInlineMeasurements, setFooterActionsInlineMeasurements] = useState({
    safeBottomAreaHeight: 0
  });
  const handleFooterActionsInlineMeasurements = useCallback(values => {
    setFooterActionsInlineMeasurements(values);
  }, []);
  return {
    footerActionsInlineMeasurements,
    handleFooterActionsInlineMeasurements
  };
};
//# sourceMappingURL=useFooterActionsInlineMeasurements.js.map