Function create_key_value_prop_ident
Source pub fn create_key_value_prop_ident(key: &str, value: Expr) -> KeyValueProp
Expand description
Creates a KeyValueProp with an IdentName key.
§Arguments
key - The identifier name
value - The value of the property
§Example
ⓘlet key_value = create_key_value_prop_ident("props", value);