#Is it possible to add `layout: padded` to all Canvas elements in an MDX file

4 messages · Page 1 of 1 (latest)

uneven trellis
#

... without putting it on each individual Canvas?

#

Is it possible to add layout: padded to all Canvas elements in an MDX file

#

I currently render out all of my CSF3 stories into Canvas like this:
<Canvas of={Stories.Default} layout="padded" />

#

I notice I can add parameters to the meta detail of the CSF3 - is it best to do it here rather than the MDX file itself?