Skip to content

unclear imports for style creating issues in latest react native #91

Description

@singhagam1

Expected Behavior

The import statements in the library should be specific, In latest react native, 0.75 for my case, as some files have the import as
import styles from './styles';
it picks the styles.native file instead of styles.js for both android and iOS platform and hence distorts the UI.

Actual Behavior

It should pick the file according to the platform

Steps to Reproduce the Problem

  1. Install the library in the latest react native 0.75
  2. Take a text filed and give it a label, it is not visible, unless you give it some space (where some is press the space bar before the label atleast 30-40 times) example - " somelabel"
  3. Or you can inside this library, update the style import statement to
    import styles from './styles.js';

Specifications

  • Version: 0.75
  • Platform: both android and iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions