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

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

props

</td><td>

ParameterOrSingleVariableProps<TEditorContext>

</td><td>

</td></tr> </tbody></table> Returns:

_emotion_react_types_jsx_namespace.EmotionJSX.Element