Home > @uniformdev/canvas > ComponentParameter

ComponentParameter type

Defines an editable parameter on a component.

Signature:

type ComponentParameter<TValue = unknown> = Omit<SharedComponents$1['ComponentParameter'], 'value' | 'conditions' | 'localesConditions'> & {
    value?: TValue;
    locales?: Record<string, TValue>;
    conditions?: ComponentParameterConditionalValue<TValue>[];
    localesConditions?: Record<string, ComponentParameterConditionalValue<TValue>[]>;
};

References: ComponentParameterConditionalValue