Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mdxType as prop name #462

Merged
merged 1 commit into from
Mar 12, 2019
Merged

Use mdxType as prop name #462

merged 1 commit into from
Mar 12, 2019

Commits on Mar 11, 2019

  1. Use mdxType as prop name

    In some cases it might be desired to access
    the type prop. This namespaces it with mdx
    to become mdxType. This shouldn't clash with
    most components and allows wrapper to more
    easily inspect its children's type like you
    would with most React elements.
    johno committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    8709410 View commit details
    Browse the repository at this point in the history