Function create_string_key_value_prop
Source pub fn create_string_key_value_prop(key: &str, value: &str) -> PropOrSpread
Expand description
Creates a PropOrSpread with a string key and value.
§Arguments
key - The string key
value - The value of the property
§Example
ⓘlet prop_or_spread = create_string_key_value_prop("key", "value");