feat: finalize TrialOverAlert on billing page

This commit is contained in:
Ali BARIN
2023-04-09 12:07:31 +00:00
parent dc734b04d8
commit 2739d2297f
5 changed files with 50 additions and 14 deletions

View File

@@ -1,5 +1,13 @@
import { Link as RouterLink } from 'react-router-dom';
import Link from '@mui/material/Link';
export const generateInternalLink = (link: string) => (str: string) =>
(
<Link component={RouterLink} to={link}>
{str}
</Link>
);
export const generateExternalLink = (link: string) => (str: string) =>
(
<Link href={link} target="_blank">