Skip to main content

remix__action_form_data__key

Function remix__action_form_data__key 

Source
pub fn remix__action_form_data__key(value: &str) -> String
Expand description

Instantiates the <key> placeholder in the attribute REMIX__ACTION_FORM_DATA__KEY (remix.action_form_data.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::remix__action_form_data__key;
assert_eq!(remix__action_form_data__key("foobar"), "remix.action_form_data.foobar");