Skip to content

List the default value of each style props #1297

Description

@tberghuis

The page https://facebook.github.io/react-native/docs/view-style-props will tell me the list of style props, each props type and if it's required but not what the default value is. Is there a way to find out what the default values are?

Activity

  1. Simek commented on May 4, 2020

    @Simek
    Collaborator

    Most of the default values can be found in the StyleSheetTypes source code comments, and other places in the React Native code.

    There are also few deprecated props (borderStyle, backfaceVisibility etc.) that are not correctly marked on the page.

  2. added
    📼 Outdated DocsDocumentation is there, but outdated or wrong.
    👋 Good first issueInterested in collaborating? Take a stab at fixing one of these issues.
    on May 4, 2020
  3. removed their assignment
    on May 5, 2020
  4. adithyaakrishna commented on Aug 15, 2020

    @adithyaakrishna

    Can I work on this issue? :)

  5. pizzaz93 commented on Mar 29, 2022

    @pizzaz93

    @rachelnabors and @Simek would this still be useful to document?

    I could work on it?

  6. junaidn commented on Apr 14, 2022

    @junaidn
    Contributor

    Can i try to attempt it ? :)

  7. ogallagher commented on Oct 2, 2023

    @ogallagher

    As someone with zero authority over this project, I hereby grant @adithyaakrishna @pizzaz93 and @junaidn the permission to help resolve this issue.

  8. Faisalmajeed123 commented on Oct 6, 2024

    @Faisalmajeed123

    Hello maintainers,
    I would like to confirm whether this issue is still relevant, as it is 4 years old. Additionally, the file referenced (Libraries/StyleSheet/StyleSheetTypes.js) no longer exists in the repository. Could you please provide guidance on any alternative files or approaches I should refer to? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    👻 Missing DocsDocumentation is missing📼 Outdated DocsDocumentation is there, but outdated or wrong.👋 Good first issueInterested in collaborating? Take a stab at fixing one of these issues.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions