Skip to content

Commit f261494

Browse files
authored
pass listProps to wheelPicker (#2461)
1 parent 9c8727a commit f261494

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/picker/PickerItemsList.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ const PickerItemsList = (props: PickerItemsListProps) => {
8787
{topBarProps.doneLabel ?? 'Select'}
8888
</Text>
8989
</View>
90-
<WheelPicker initialValue={context.value as PickerSingleValue} items={items} onChange={setWheelPickerValue}/>
90+
<WheelPicker
91+
flatListProps={listProps}
92+
initialValue={context.value as PickerSingleValue}
93+
items={items}
94+
onChange={setWheelPickerValue}
95+
/>
9196
</View>
9297
);
9398
};

0 commit comments

Comments
 (0)