Skip to content

Why margin ,width and height don't work with button component ? #17623

Closed

Description

Below is my code :
<Button
title="login"
style={{height: 40,width:300,marginTop:10}}
/>

But always my button displayed in the default position and with the default width and height.

Activity

  1. react-native-bot commented on Jan 16, 2018

    @react-native-bot
    Collaborator
  2. facebook-github-bot commented on Jan 16, 2018

    @facebook-github-bot
    Contributor

    Hey @kilaniba, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!

    How to Contribute • What to Expect from Maintainers

  3. locked as resolved and limited conversation to collaborators on Jan 16, 2019
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

    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