import useLayoutFactory from '../../hooks/useLayoutFactory';
import { LayoutFactory } from '../../types';

interface Props {
  factory: LayoutFactory;
}

const RegisterLayoutFactory: React.FunctionComponent<Props> = ({ factory }) => {
  useLayoutFactory(factory);
  return null;
};

export default RegisterLayoutFactory;
