SafeLinkProps
Definition
interface SafeLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
/** Target URL or path */
to: string;
/** Replace history instead of pushing (only in router) */
replace?: boolean;
/** Link text or elements */
children: React.ReactNode;
/** CSS class name */
className?: string;
}Usage
import { SafeLinkProps } from 'uxp/components';Last updated