Skip to content

How to Globally override HTML element with components? #2271

Closed 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 4 replies

Comment options

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

@rubennaatje
Comment options

@kitschpatrol
Comment options

@harleylara
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