Skip to content

Commit

Permalink
Adds object as a type on type ItemValue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mbulelo-Peyi committed Nov 8, 2024
1 parent 901fdac commit 7b212ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/Picker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {
} from 'react-native';
import { processColor } from 'react-native';

export type ItemValue = number | string;
export type ItemValue = number | string | object;

This comment has been minimized.

Copy link
@Mbulelo-Peyi

Mbulelo-Peyi Nov 8, 2024

Author Owner

Adds object as a type on type ItemValue


export interface PickerItemProps<T = ItemValue> {
label?: string;
Expand Down

1 comment on commit 7b212ce

@Mbulelo-Peyi
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original

Please sign in to comment.