grommet
Version:
focus on the essential experience
15 lines (11 loc) • 324 B
TypeScript
import * as React from 'react';
import { AnchorProps } from '../Anchor';
import { Omit } from '../../utils';
export interface RoutedAnchorProps {
method?: 'push' | 'replace';
path: string;
}
declare const RoutedAnchor: React.ComponentClass<
RoutedAnchorProps & Omit<AnchorProps, 'href'>
>;
export { RoutedAnchor };