react-native-picker-select icon indicating copy to clipboard operation
react-native-picker-select copied to clipboard

Module '"react-native-picker-select"' has no exported member 'defaultStyles'

Open mkizesov opened this issue 3 years ago • 1 comments

Describe the bug
Import error for "defaultStyles":

Module '"react-native-picker-select"' has no exported member 'defaultStyles'. Did you mean to use 'import defaultStyles from "react-native-picker-select"' instead?
ts(2614)

To Reproduce
Steps to reproduce the behavior:

Add this import to ts/tsx file: import { defaultStyles } from 'react-native-picker-select';

Expected behavior
According to README that's how we should import "defaultStyles" from the library.

Screenshots
Screenshot 2021-04-08 at 12 51 45

Additional details

  • react-native-picker-select version: 8.0.4
  • TypeScript

Reproduction and/or code sample
https://snack.expo.io/AgnhXbXXT

mkizesov avatar Apr 08 '21 09:04 mkizesov

you can check & use my pr

npm i lawnstarter/react-native-picker-select#pull/454/head

hope this helps you! ☕☕

misaelriojasftf avatar Jul 27 '21 07:07 misaelriojasftf