UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

13 lines (12 loc) 384 B
import { jsx as _jsx } from "react/jsx-runtime"; import { Link } from "@mui/material"; import { Link as RouterLink } from "react-router"; /** * Extended link component * @param props Props * @returns Component */ export function LinkEx(props) { const { underline = "hover", ...rest } = props; return _jsx(Link, { component: RouterLink, underline: underline, ...rest }); }