This repository was archived by the owner on Sep 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
src/components/HyperMediaControls Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ export default withStyles(styles)(
7878 className = { classes . button }
7979 rel = { rel }
8080 title = { title }
81- color = { 'primary' }
8281 />
8382 < Dialog
8483 open = { open }
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ const NonTemplatedLinkButton: StatelessComponent<
8282 < RelButton
8383 rel = { rel }
8484 title = { link . title }
85- color = { 'inherit' }
8685 onClick = { preventDefault ( ( ) => onNavigate ( link , authorization ) ) }
8786 />
8887 ) ,
Original file line number Diff line number Diff line change @@ -7,18 +7,16 @@ import RelIcon from '../RelIcon';
77interface RelButtonProps {
88 rel : string ;
99 title ?: string ;
10- color : SvgIconProps [ 'color' ] ;
1110}
1211
1312const RelButton : StatelessComponent < RelButtonProps & ButtonProps > = ( {
1413 rel,
1514 onClick,
1615 title,
17- color,
1816 ...props
1917} ) => (
2018 < Button variant = { 'text' } onClick = { onClick } { ...props } >
21- < RelIcon rel = { rel } color = { color } />
19+ < RelIcon rel = { rel } color = { 'action' } />
2220 { title || rel }
2321 </ Button >
2422) ;
You can’t perform that action at this time.
0 commit comments