[improvement] Button: tsx (#2766)

This commit is contained in:
neverland
2019-02-16 22:03:28 +08:00
committed by GitHub
parent 2e308ffc62
commit 2ebcf2a36a
2 changed files with 38 additions and 7 deletions
+6
View File
@@ -24,6 +24,12 @@ export function functionalRoute(context: RenderContext) {
route(context.parent && context.parent.$router, context.props);
}
export type RouteProps = {
url?: string,
replace?: boolean;
to?: RawLocation;
}
export const routeProps = {
url: String,
replace: Boolean,