ChoiceParam interface
A string param limited to some values, made by `oneOf()`.
import type { ChoiceParam } from '@dioramajs/diorama'interface ChoiceParam<T extends string = string>Members
| Name | Type | Description |
|---|---|---|
readonly values | readonly [T, T] | The allowed values. The first one is the default. |
Also exported from @dioramajs/diorama/auto, @dioramajs/diorama/effects, @dioramajs/effects.
Defined in packages/effects/src/types.ts.