Skip to content

Ensure each style property is on its own line when inside StyleSheet.create() #319

Open
@ftzi

Description

@ftzi

I usually first add my component styles inline and on the same line, if I expect them to be simple and unique. If they get too complex or are reused, I transfer them to the StyleSheet.create() in the bottom of the code.

For example, just dropped { color: '#141C4D', fontFamily: F.SF_Pro_Text_Medium, fontSize: 15, paddingHorizontal: 10, paddingVertical: 10 } there. Then I have to put a new line after each property.

I would really like a rule to have all styles properties in their own lines to save me some time.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy