fix link type
This commit is contained in:
parent
e6ae21082d
commit
eaa062302e
@ -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 { 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();
|
||||
|
||||
return (
|
||||
@ -30,4 +31,4 @@ export function PenaLink(props: LinkProps) {
|
||||
<ArrowForwardIcon sx={{ height: "20px", width: "20px" }} />
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@frontend/kitui",
|
||||
"version": "1.0.31",
|
||||
"version": "1.0.32",
|
||||
"description": "test",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user