import { ak as useQueries, bl as useLoopedQuery, bm as useData } from "./use-page-data.BgY0vKG4.js";
import { u as useBrickManifest } from "./use-brick-manifest.Cu06x7gY.js";
function useBrickProps({
  brick,
  editable,
  iterationIndex = 0
}) {
  const { props } = brick;
  const pageQueries = useQueries();
  const loop = props.loop;
  useLoopedQuery(loop?.over);
  useBrickManifest(brick.type);
  useData(editable);
  if (!pageQueries.length) {
    return props;
  }
  return props;
}
export {
  useBrickProps as u
};
//# sourceMappingURL=use-brick-props.By1DlBcr.js.map
