react-antd-admin-panel
Version:
Easy prototyping admin panel using React and Antd
20 lines (19 loc) • 415 B
TypeScript
import Get from "./Get";
import Post from "./Post";
export default class Route {
_key: any;
_path: any;
_gets: Get[];
_posts: Post[];
_exact: boolean;
_access: any;
Component: any;
constructor();
copy(): Route;
key(key: string): this;
get(value: Get): this;
post(value: Post): this;
exact(): this;
component(value: any): this;
access(value: any): this;
}