|
@ -15,7 +15,7 @@ function Link({ |
|
|
...props |
|
|
...props |
|
|
}: JSX.IntrinsicElements['a']) { |
|
|
}: JSX.IntrinsicElements['a']) { |
|
|
const classes = |
|
|
const classes = |
|
|
'inline text-link dark:text-link-dark break-normal border-b border-link border-opacity-0 hover:border-opacity-100 leading-normal'; |
|
|
'inline text-link dark:text-link-dark break-normal border-b border-link border-opacity-0 hover:border-opacity-100 duration-100 ease-in transition leading-normal'; |
|
|
const modifiedChildren = React.Children.toArray(children).map( |
|
|
const modifiedChildren = React.Children.toArray(children).map( |
|
|
(child: any) => { |
|
|
(child: any) => { |
|
|
if (child.type?.mdxName && child.type?.mdxName === 'inlineCode') { |
|
|
if (child.type?.mdxName && child.type?.mdxName === 'inlineCode') { |
|
|