fix link type

This commit is contained in:
nflnkr 2023-08-22 14:03:11 +03:00
parent e6ae21082d
commit eaa062302e
2 changed files with 5 additions and 4 deletions

@ -1,9 +1,10 @@
import { Link, LinkProps, Typography, useTheme } from "@mui/material"; import { Link, LinkProps, LinkTypeMap, Typography, useTheme } from "@mui/material";
import ArrowForwardIcon from '@mui/icons-material/ArrowForward'; import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
import { deepmerge } from "@mui/utils"; import { deepmerge } from "@mui/utils";
import { OverridableComponent } from "@mui/material/OverridableComponent";
export function PenaLink(props: LinkProps) { export const PenaLink: OverridableComponent<LinkTypeMap<object, "a">> = (props: LinkProps) => {
const theme = useTheme(); const theme = useTheme();
return ( return (
@ -30,4 +31,4 @@ export function PenaLink(props: LinkProps) {
<ArrowForwardIcon sx={{ height: "20px", width: "20px" }} /> <ArrowForwardIcon sx={{ height: "20px", width: "20px" }} />
</Link> </Link>
); );
} };

@ -1,6 +1,6 @@
{ {
"name": "@frontend/kitui", "name": "@frontend/kitui",
"version": "1.0.31", "version": "1.0.32",
"description": "test", "description": "test",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.js", "module": "./dist/index.js",