Skip to content

Bug with Button that imported like import { Button } from "@rneui/themed"; #3553

@VladyslavMartynov

Description

@VladyslavMartynov

Is there an existing issue for this?

  • I have searched the existing issues

Explain what you did

Hi everyone, i probably install the last version of react-native-elements, but when i am importing Button from "@rneui/themed".
i have the following error , moreover i detected it on the official documentation. Maybe you can make some changes in file node_modules/@rneui/base/dist/Button/Button.js. Thanks beforehand)
image

image

Expected behavior

image

Describe the bug

Hi everyone, i probably install the last version of react-native-elements, but when i am importing Button from "@rneui/themed";
i have the following error , moreover i detected it on the official documentation. I was using yarn in order to install all packages!

Steps To Reproduce

1) yarn add @rneui/themed @rneui/base from official doc 
2) import { Button } from "@rneui/themed";
3) see error

Screenshots

package-json file:
image
image

Your Environment

`npx @rneui/envinfo`
  ```
    Output from `npx @rneui/envinfo` goes here.
  ```

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions