Skip to content

Modify a styleSheet after creation #21039

Closed
@to175

Description

@to175

Hello,

I would like to do something to create different style sheets by device type and do not repeat the code...
So I need something like this :
const styles = StyleSheet.create({...})
IF Tablet {
styles.button.color = 'blue';
}

how to make this working please ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions