UNPKG

smart-react-components

Version:

React UI library, wide variety of editable ready to use Styled and React components.

18 lines (17 loc) 481 B
import React from "react"; import { JSXElementProps } from "../props"; import { RouteProps } from "../types/router"; declare global { interface History { push: (url: string) => void; replace: (url: string) => void; } } interface Props { children: JSX.Element | JSX.Element[]; params?: any; progressBarProps?: JSXElementProps; routes: RouteProps[]; } declare const ClientRouter: React.FC<Props>; export default ClientRouter;