ComponentConditionProperty
import type { ComponentConditionProperty } from "https://aws-api.deno.dev/v0.3/services/amplifyuibuilder.ts?docs=full";
Represents a conditional expression to set a component property.
Use ComponentConditionProperty
to set a property to different values conditionally, based on the value of another property.
interface ComponentConditionProperty {
else?: ComponentProperty | null;
field?: string | null;
operand?: string | null;
operator?: string | null;
property?: string | null;
then?: ComponentProperty | null;
}§Properties
§
else?: ComponentProperty | null
[src]The value to assign to the property if the condition is not met.
§
operator?: string | null
[src]The operator to use to perform the evaluation, such as eq
to represent equals.
§
then?: ComponentProperty | null
[src]The value to assign to the property if the condition is met.