Skip to content

How to specify style with custom html tag? #184

@MoOx

Description

@MoOx

My problem is simple:

I am making a web implementation of react-native Picker http://facebook.github.io/react-native/docs/picker.html
So I am basically using a and want to be able to pass style. Before 0.33 is was possible, but with the refactor on StyleSheet API it's not possible anymore, since normal (dom) style prop expect an object, not the new format that match RN API. I tried to use a View with a role, but no luck. Any idea how to create a select with styles?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequires extension or creation of new React Native API

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions