UNPKG

@plurid/plurid-react

Version:

React implementation of Plurid to explore the web in three dimensions

21 lines (20 loc) 642 B
import React from 'react'; import { Theme } from '@plurid/plurid-themes'; export interface PluridRouterLinkOwnProperties { route: string; /** * Style as an anchor tag. Default `true`. */ asAnchor?: boolean; target?: '_blank' | '_self'; theme?: Theme; style?: React.CSSProperties; className?: string; children?: React.ReactNode; /** * Click handler. If it returns true it will exit preemptively. */ atClick?: (event: React.MouseEvent<Element, MouseEvent>) => boolean | void; } declare const PluridRouterLink: React.FC<PluridRouterLinkOwnProperties>; export default PluridRouterLink;