Skip to content
New issue

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

Add spacing between buttons #12

Merged
merged 1 commit into from Jan 5, 2022
Merged

Conversation

ninest
Copy link
Collaborator

@ninest ninest commented Jan 5, 2022

Wrapped both buttons in a view and added marginRight. React Native Buttons do not allow styling, so if we want more custom looking buttons, we'll have to use Pressable.

@adidoesnt adidoesnt merged commit 0f15aa5 into adidoesnt:master Jan 5, 2022
@adidoesnt
Copy link
Owner

This looks good for the time being!

@ninest
Copy link
Collaborator Author

ninest commented Jan 7, 2022

Maybe we can consider creating <Spacer> elements? I used a similar system in my personal website and it was much easier to do something like

<Button ... />
<Spacer size="md" />
<Button ... />

Than something like

<Button ... style={{marginBottom: 10}} />
<Button ... />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants