Skip to content

Commit

Permalink
feat: allow usage of custom border radius for animated fab
Browse files Browse the repository at this point in the history
  • Loading branch information
babucarr32 committed Jan 1, 2025
1 parent 2827b9c commit edfef1c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/FAB/AnimatedFAB.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -419,15 +419,18 @@ const AnimatedFAB = ({
</View>
<Animated.View
pointerEvents="box-none"
style={[styles.innerWrapper, { borderRadius }]}
style={[
styles.innerWrapper,
{ borderRadius: restStyle?.borderRadius || borderRadius },
]}
>
<Animated.View
style={[
styles.standard,
{
width: extendedWidth,
backgroundColor,
borderRadius,
borderRadius: restStyle?.borderRadius || borderRadius,
},
combinedStyles.innerWrapper,
]}
Expand Down

0 comments on commit edfef1c

Please sign in to comment.