docs(picker): describe how to set the initial value of a picker column (#28034)

## What is the current behavior?
There is no description of how to set the value of a picker.

## What is the new behavior?
Readers can find this description in the documentation.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

---------

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
Damian Tarnawsky
2023-08-22 07:36:30 -07:00
committed by GitHub
parent 0ac3df3f37
commit e2be7fdf3a

View File

@ -27,6 +27,9 @@ export interface PickerButton {
export interface PickerColumn { export interface PickerColumn {
name: string; name: string;
align?: string; align?: string;
/**
* Changing this value allows the initial value of a picker column to be set.
*/
selectedIndex?: number; selectedIndex?: number;
prevSelected?: number; prevSelected?: number;
prefix?: string; prefix?: string;