React Storefront
|

CmsSlot

import CmsSlot from 'react-storefront/CmsSlot'

A container for HTML blob content from a CMS. Content is dangerously inserted into the DOM. Pass the html as a string as the child of this component. Additional props are spread to the rendered span element.

Props

NameTypeDefaultDescription
lazyLoadImagesfalse

CSS API

You can override all the class names injected by Moov-PWA thanks to the classes property. This property accepts the following keys:

  • inline
  • block
  • root