From 7fec413ddd6df1d10d7c83b24dc57ef543fbc234 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 18 Jun 2022 12:48:02 +0430 Subject: [PATCH] update src/components/FloatingButton/index.js --- src/components/FloatingButton/index.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/FloatingButton/index.js b/src/components/FloatingButton/index.js index fe67b33..97d6689 100644 --- a/src/components/FloatingButton/index.js +++ b/src/components/FloatingButton/index.js @@ -11,7 +11,14 @@ export const FloatingButton = ({ action, position, icon, size }) => { className={`fixed bg-blueC0 rounded-full w-${size} h-${size} transform transition-all hover:scale-110 active:scale-90 flex justify-center items-center shadow-xl z-10`} style={position} > - + ); }; @@ -24,5 +31,5 @@ export default connect(mapStateToProps, mapDispatchToProps)(FloatingButton); FloatingButton.defaultProps = { icon: plusIcon, - size : 20 + size: 14, };