tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > BlockProps > cssStyle

BlockProps.cssStyle property

Custom CSS style that would be applied to the node directly. Useful for frequently changing styles, e.g., animation. In the case of less frequent updates it is preferable to use ‘className’ prop.

Signature:

cssStyle?: CSSProperties;