@moxb/stellar-router-react
Version:
Stellar router: React widgets
15 lines (14 loc) • 466 B
TypeScript
/// <reference types="react" />
import * as Anchor from '@moxb/react-html';
import { CoreLinkProps } from '@moxb/stellar-router-core';
/**
* Everything _except_ the target specification
*/
export declare type NavLinkParams = Anchor.AnchorParams;
/**
* All the props (presentation and target)
*/
export declare type NavLinkProps = NavLinkParams & CoreLinkProps;
export declare const NavLink: ((props: NavLinkProps) => JSX.Element) & {
displayName: string;
};