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

fix: improve customization fab #1891

Merged
merged 3 commits into from
Mar 14, 2022
Merged

fix: improve customization fab #1891

merged 3 commits into from
Mar 14, 2022

Conversation

AlexVarchuk
Copy link
Collaborator

@AlexVarchuk AlexVarchuk commented Jan 31, 2022

What/Why/How?

fixes #1850
added availability to customize FAB:

  • theme property for changing background color and icon color for the FAB
fab: {
 backgroundColor: 'red',
 color: 'white',
}
  • property hideFab for non-display floating action button.

Reference

Testing

Screenshots (optional)

Screenshot 2022-03-14 at 14 15 09

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

@AlexVarchuk AlexVarchuk self-assigned this Jan 31, 2022
@adamaltman
Copy link
Member

I learned something new today:

Fab icons
A floating action button (FAB) performs the primary, or most common, action on a screen. It appears in front of all screen content, typically as a circular shape with an icon in its center. FABs come in three types: regular, mini, and extended.

😆 🚀

@AlexVarchuk AlexVarchuk changed the title fix: add class to fab icon fix: improve customization fab Mar 14, 2022
@AlexVarchuk AlexVarchuk merged commit 635f379 into master Mar 14, 2022
@AlexVarchuk AlexVarchuk deleted the fix/add-class-to-fab branch March 14, 2022 13:36
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.

Styling arrow circle at the bottom right of the screen
4 participants