stylex_enums/sx_prop_name_param.rs
1use serde::Deserialize;
2
3/// Represents the `sxPropName` option: either a string name or `false` (disabled).
4#[derive(Deserialize, Clone, Debug)]
5#[serde(untagged)]
6pub enum SxPropNameParam {
7 /// Disables the `sx` prop feature
8 Disabled,
9 /// A string name for the sx prop (e.g. `"sx"` or `"css"`)
10 Enabled(String),
11}