whoisandy/react-blocks

tagName prop

Closed this issue · 2 comments

brumm commented

being able to configure the tagName of the rendered dom element would prove useful for list elements, etc.

<Block tagName='ul'>
  <Block tagName='li' />
</Block>
brumm commented

just had a look at the code, this is already possible via the el prop.

@brumm Glad you looked into the code and figured out :)