gatsby-theme-material-ui: Link component inside a Tab causes error

When using the theme’s Link component as a Material-ui Tab got an error ‘Failed prop type: Invalid prop component supplied to ForwardRef(ButtonBase). Expected an element type that can hold a ref. Did you accidentally provide a plain function component instead?’

import Tab from '@material-ui/core/Tab'
import { Link } from 'gatsby-theme-material-ui'
<Tab  component={Link} to="link-url" label="Link label" />

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 16 (16 by maintainers)

Most upvoted comments

The changes have just been released

@hupe1980 Perfect, all errors are gone!!