feat: allow usage of custom border radius for animated fab #4591
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
I was using the
AnimatedFAB
component, But I wanted it'sborderRadius
to be completely round. But, when I applied theborderRadius
property on the style, it does not work. So, to fix that issue and allow the usage of customborderRadius
, I came up with this feature.Test plan
Assign any number to
![Screenshot 2025-01-01 at 10 32 40 PM](https://private-user-images.githubusercontent.com/93452510/399591081-accfcf15-ad24-42d0-a761-b042ad80ce39.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzQ5NTcsIm5iZiI6MTczOTAzNDY1NywicGF0aCI6Ii85MzQ1MjUxMC8zOTk1OTEwODEtYWNjZmNmMTUtYWQyNC00MmQwLWE3NjEtYjA0MmFkODBjZTM5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MTA1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3NjZlZDE4MGYyYWYxZTQyNmViMTM0NmI1MTc4ZjRhYzZlODcxODYyOWY3ZDlhMzkzZDk4MTEzN2Y4NzU2MDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.chwmRik_7mX9cVgCowICAYzSktvdI0_hCMQXGmHT5Tw)
![Screenshot 2025-01-01 at 10 32 55 PM](https://private-user-images.githubusercontent.com/93452510/399591090-e2fb59ff-237e-440d-9abc-180556b156af.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMzQ5NTcsIm5iZiI6MTczOTAzNDY1NywicGF0aCI6Ii85MzQ1MjUxMC8zOTk1OTEwOTAtZTJmYjU5ZmYtMjM3ZS00NDBkLTlhYmMtMTgwNTU2YjE1NmFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDE3MTA1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjODVhZTc2YWY3ZDViZTdmMGI3ODRjOGQzMDg3NDA5ZDhlYWRkOWI2NmY0MGE2ODZkNDM5MTk3N2I3OTNhOTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.j-FL2HKERwsVt86C55mcoGLw7guFyiYckpgay9WEaxs)
borderRadius
, and it should work.