Skip to content

How to Globally override HTML element with components? #2271

Answered by wooorm
harleylara asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

a) A solution likely relates more to your framework, so best to ask Astro folks.
b) export const components is not an MDX thing, if that works, that’s Astro
c) In MDX, you can pass components to components: https://mdxjs.com/docs/using-mdx/. See particularly the section on “Components”

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@harleylara
Comment options

@rubennaatje
Comment options

@kitschpatrol
Comment options

Answer selected by harleylara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants