import Authorized from "./Authorized";
import AuthorizedRoute from "./AuthorizedRoute";
import Secured from "./Secured";
import check from "./CheckPermissions";
import renderAuthorize from "./renderAuthorize";
Authorized.Secured = Secured;
Authorized.AuthorizedRoute = AuthorizedRoute;
Authorized.check = check;
export default renderAuthorize(Authorized);
Authorized is a stateless component, that is, a function, so why can you have properties like an object?