smart-react-components
Version:
React UI library, wide variety of editable ready to use Styled and React components.
17 lines (16 loc) • 463 B
TypeScript
import React from "react";
import { Path } from "../types/router";
interface Props {
to: string;
path?: Path;
exact?: boolean;
emptyQueryActive?: boolean;
checkActive?: boolean;
}
interface Return {
click: (e: React.FormEvent<HTMLAnchorElement>) => void;
active: boolean;
activating: boolean;
}
declare const _default: ({ to, path, exact, emptyQueryActive, checkActive }: Props) => Return;
export default _default;