Skip to content

Custom RN text components #93

@adamTrz

Description

@adamTrz

Hi

I wanted to integrate react-doctor in our react native project and when I did a test run of it I've got a bunch of errors stating that we have Raw text outside <Text>. And that's true - we are using nativewind to create custom Typography component with custom theming.

Is there a way to tell doctor that this component can indeed have raw text as a child?

Similar issue was already solved with eslint here alas I've not found skip option to be present in doctor's config...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions