Skip to content

CaseProps

Defined in: core/control-flow/switch-case/index.ts:37

Case control flow element props

used in Case

Properties

memo?

optional memo: boolean

Defined in: core/control-flow/switch-case/index.ts:46

Memoize the element, overrides the memoAll prop in the Switch element

Default

true

value

value: unknown

Defined in: core/control-flow/switch-case/index.ts:41

The value to match, if a function is provided, it will be called with the condition value