Skip to main content

preview

Attribute Macro preview 

Source
#[preview]
Expand description

Registers a parameterless component fixture for IDE previews.

Enable Cranpose’s preview feature. Options are name, group, width, height, and dark. Combine this attribute with #[composable].