@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
7 lines (6 loc) • 322 B
TypeScript
import { useLocation } from 'react-router-dom';
export interface BackLinkProps {
/** The location to go back to. If not provided, the browser's history will be used. */
to?: string | ReturnType<typeof useLocation>;
}
export default function BackLink(props: BackLinkProps): import("react/jsx-runtime").JSX.Element;