Skip to main content

options

Transient Props#

In styled-components it's recommended to prefix props but not required because they have some magic to determine whether your prop is destined for the DOM. Not tonami!

By default, Tonami prevents props beginning with $ from being added to the DOM element. You can customize this by replacing the function options.shouldForwardProp with your own.

Live Editor
Result
SyntaxError: No-Inline evaluations must call `render`.