mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
@@ -15,7 +15,7 @@ function Link({
|
||||
...props
|
||||
}: JSX.IntrinsicElements['a']) {
|
||||
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(
|
||||
(child: any) => {
|
||||
if (child.type?.mdxName && child.type?.mdxName === 'inlineCode') {
|
||||
|
||||
Reference in New Issue
Block a user