devvit
devvit copied to clipboard
Devvit Blocks | Component button does not show caution appearance type correctly
Issue
Using the Block component
Example Devvit Code
<button appearance="caution" onPress={() => someAction('here') }>
however, as per the documentation here: Devvit docs the style should be yellow
Expected Resolution
This appears to happen since the css is compiled to class button-secondary rather than button-caution. Please correct the compilation, since the caution class does appear to be present in the css, maybe the build process incorrectly compiles to secondary instead.
Hoping for a quick resolution. Thanks!