From 145073e1803ced7ebbd6b237548e592126f0d8ca Mon Sep 17 00:00:00 2001 From: silvioprog Date: Mon, 30 Sep 2024 11:12:49 -0300 Subject: [PATCH] refactor(Cluster): replace defaultProps property --- src/components/layout/Cluster/Cluster.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/layout/Cluster/Cluster.tsx b/src/components/layout/Cluster/Cluster.tsx index 7ff41a43b..439f4768e 100644 --- a/src/components/layout/Cluster/Cluster.tsx +++ b/src/components/layout/Cluster/Cluster.tsx @@ -71,7 +71,7 @@ const ClusterParent = styled.div( const Cluster = ({ children, - gap, + gap = SpaceSizes.none, align, justify, parentEl, @@ -96,8 +96,4 @@ const Cluster = ({ ); -Cluster.defaultProps = { - gap: SpaceSizes.none, -}; - export default Cluster;