Home > @uniformdev/mesh-sdk-react > ParameterOrSingleVariable
ParameterOrSingleVariable() function
A parameter which can be one of a custom parameter editor (inputWhenNoVariables
), or one single variable value (not multiple). Use for parameters which can only have one variable value, possibly because they bind to objects or arrays. Designed visually for use in the Canvas Parameter Editor.
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
props | ParameterOrSingleVariableProps<TEditorContext> |
Returns:
_emotion_react_jsx_runtime.JSX.Element