mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-20 08:15:26 +02:00
21 lines
500 B
TypeScript
21 lines
500 B
TypeScript
import {ReactElement} from "react"
|
|
import {HiOutlineExternalLink} from "react-icons/hi"
|
|
|
|
import {Box, BoxProps} from "@mui/material"
|
|
|
|
export interface ExternalLinkIndicationProps extends BoxProps {}
|
|
|
|
export default function ExternalLinkIndication({
|
|
children,
|
|
...props
|
|
}: ExternalLinkIndicationProps): ReactElement {
|
|
return (
|
|
<Box component="span" {...props} display="flex" alignItems="center">
|
|
<Box component="span" mr={1}>
|
|
{children}
|
|
</Box>
|
|
<HiOutlineExternalLink />
|
|
</Box>
|
|
)
|
|
}
|