import {
  getReactComponent,
  getComponentMeta
} from "../../../state/react-page";
import { useSelector } from "./use-selector";
function useComponent(type) {
  return useSelector((state) => getReactComponent(state, type));
}
function useComponentMeta(type) {
  return useSelector((state) => getComponentMeta(state, type));
}
export {
  useComponent,
  useComponentMeta
};
//# sourceMappingURL=use-component.js.map