Skip to content

Added type definitions for missing picker options.#278

Open
shubhnik wants to merge 1 commit into
beefe:masterfrom
shubhnik:master
Open

Added type definitions for missing picker options.#278
shubhnik wants to merge 1 commit into
beefe:masterfrom
shubhnik:master

Conversation

@shubhnik
Copy link
Copy Markdown

Fixes #277

@acro5piano
Copy link
Copy Markdown

acro5piano commented May 21, 2020

I've added the following code in my project.
Not ideal but the maintainer seems not willing to create new releases...

declare module 'react-native-picker' {
  interface PickerOptions {
    pickerTextEllipsisLen: number
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type definitions missing for isLoop, pickerTextEllipsisLen and wheelFlex.

2 participants