Home > @uniformdev/mesh-sdk-react > VariableChip

VariableChip() function

Chip to display a reference to a variable in a variables-supporting input or other reference display

Signature:

Parameters

ParameterTypeDescription
{ displayName, referenceIsValid, tooltip, reference, onClick, clickToEdit, isFresh, selected, disabled, errorMessage, }Omit<VariableNodeState, 'hasClickEvent' | 'displayName'> & { reference: string; displayName?: ReactNode; clickToEdit?: boolean; onClick: (() => void) | undefined; selected: boolean; disabled?: boolean; errorMessage?: string; }

Returns:

_emotion_react_jsx_runtime.JSX.Element