# Function: newChoiceOption() (/jsdoc/pixi-vn/index/functions/newChoiceOption)



\> **newChoiceOption**\<`T`>(`text`, `label`, `props`, `options?`): [`ChoiceOptionInterface`](/jsdoc/pixi-vn/index/interfaces/ChoiceOptionInterface)

Defined in: [src/narration/classes/ChoiceMenuOption.ts:24](https://github.com/DRincs-Productions/pixi-vn/blob/998c1a75c5978f24c0dc137af5f42b90b2803967/src/narration/classes/ChoiceMenuOption.ts#L24)

Function to create a new choice menu option.

Type Parameters [#type-parameters]

T [#t]

`T` *extends* [`StorageObjectType`](/jsdoc/pixi-vn/index/type-aliases/StorageObjectType)

Parameters [#parameters]

text [#text]

`string` | `string`\[]

label [#label]

`string` | [`Label`](/jsdoc/pixi-vn/index/classes/Label)\<`T`> | [`LabelAbstract`](/jsdoc/pixi-vn/index/classes/LabelAbstract)\<`any`, `T`, `number`>

props [#props]

`T`

options? [#options]

`ChoiceMenuOptionOptions`

Returns [#returns]

[`ChoiceOptionInterface`](/jsdoc/pixi-vn/index/interfaces/ChoiceOptionInterface)

Example [#example]

```typescript
newChoiceOption("Hello", HelloLabel, {})
```
