devvit icon indicating copy to clipboard operation
devvit copied to clipboard

Devvit Blocks | Component button does not show caution appearance type correctly

Open bitanath opened this issue 10 months ago • 1 comments

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!

bitanath avatar Feb 19 '25 12:02 bitanath