We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be good if Button component supports fullwidth prop, it often required in mobile views.
Button will occupied full width of the container <Button fullwidth></Button>
<Button fullwidth></Button>
Button will be full width in mobile view, but It'll behave normal in other modes <Button fullwidth={[true, false]}></Button>
<Button fullwidth={[true, false]}></Button>
The text was updated successfully, but these errors were encountered:
I'd be happy to send a PR if this is useful to have on Button components.
Sorry, something went wrong.
I can imagine this prop being useful for multiple building blocks
would you like to pair on this?
yes surely.
I think it can added on element component itself, and checked on the fullWidth keyword to set the width. I'll send a PR soon.
ankibalyan
No branches or pull requests
It would be good if Button component supports fullwidth prop, it often required in mobile views.
Button will occupied full width of the container
<Button fullwidth></Button>
Button will be full width in mobile view, but It'll behave normal in other modes
<Button fullwidth={[true, false]}></Button>
The text was updated successfully, but these errors were encountered: