import React from 'react';
import { AuthPool } from '..';
import { includePermit } from '../utils';
var AuthPermit = function (props) { return (React.createElement(AuthPool, { checkPermit: function (permits) {
        return includePermit(permits, props.require, props.every) ? props.children : null;
    } })); };
export default AuthPermit;
//# sourceMappingURL=index.js.map