import React from 'react';
import { PatternsReactRouter } from '../components/Router';
export function CairoTestAppRouter({ children }) {
    React.Children.forEach(children, (currentChild) => {
        if (!React.isValidElement(currentChild)) {
            throw new Error('Each child needs to be a Route element');
        }
    });
    return (React.createElement(PatternsReactRouter, null, children));
}
//# sourceMappingURL=CairoTestAppRouter.js.map