File tree Expand file tree Collapse file tree
packages/ra-ui-materialui/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export const Link = (props: LinkProps) => {
1616 component = { RRLink }
1717 to = { to }
1818 className = { clsx ( LinkClasses . link , className ) }
19+ underline = "none"
1920 { ...rest }
2021 >
2122 { children }
@@ -29,11 +30,7 @@ export const LinkClasses = {
2930 link : `${ PREFIX } -link` ,
3031} ;
3132
32- const StyledMuiLink = styled ( MuiLink ) ( ( { theme } ) => ( {
33- [ `&.${ LinkClasses . link } ` ] : {
34- textDecoration : 'none' ,
35- } ,
36- } ) ) as typeof MuiLink ; // @see https://mui.com/material-ui/guides/typescript/#complications-with-the-component-prop
33+ const StyledMuiLink = styled ( MuiLink ) ( { } ) as typeof MuiLink ; // @see https://mui.com/material-ui/guides/typescript/#complications-with-the-component-prop
3734
3835// @see https://mui.com/material-ui/guides/composition/#with-typescript
3936export interface LinkProps
You can’t perform that action at this time.
0 commit comments