Skip to content

How do I pass in dimensions for a Mediafile component? #916

Answered by frehner
DaniBitZesty asked this question in Help
Discussion options

You must be logged in to vote

Yeah we could document this better! It should be:

<MediaFile data={data} mediaOptions={{image: {height: 490, width: 595}}} />

I believe.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DaniBitZesty
Comment options

@jamalsoueidan
Comment options

Answer selected by DaniBitZesty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants