Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Suggestion: Support style classes defined in StyleSheet.create() #20

@bnbon

Description

@bnbon

The attribute values for the styles only accept a style object, they do not support the adding of styles from StyleSheet.create().

I have to use;

tagTextStyle={{ color: '#fff', fontWeight: 'bold',fontSize: 12 }}

whereas I would prefer to use

tagTextStyle={styles.tagText}

I think this is a reversion from an earlier version of react-native-tags, as the styles.tagText would be loaded in as id reference to the style, not the styles object, so this throws warnings in the App.

Many thanks

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