I want to use Link component https://material-ui.com/api/link/ and I want to set my own colors for primary and secondary, but I can see it uses Typography to set that. How to override it? With code below doesnt work
const typographyStyle = withStyles({
root: {
colorPrimary: {
color: ColorsTheme.primary.default
}
}
});
const StyledLink = withStyles(() => ({
}))(MaterialLink);
const Link = props => (
<StyledLink TypographyClasses={typographyStyle} {...props} />
);
export default Link;