From c12126401a63720b30efdce308e5191ffaca0d2c Mon Sep 17 00:00:00 2001 From: Mahesh Agrawal <10971238+mahesh-agrawal-616@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:21:36 +0530 Subject: [PATCH] style: parent style override Parent style was overriding defaule ones. The change will fix that. --- src/components/TreeSelection/TreeSelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TreeSelection/TreeSelect.tsx b/src/components/TreeSelection/TreeSelect.tsx index 873a176..c4f5f54 100644 --- a/src/components/TreeSelection/TreeSelect.tsx +++ b/src/components/TreeSelection/TreeSelect.tsx @@ -42,7 +42,7 @@ const ParentItem = React.memo( activeOpacity={touchableActiveOpacity} testID={`${item[titleKey]}-parent`} onPress={() => showChildren(item)} - style={parentContainerStyles ?? styles.parentStyles}> + style={[styles.parentStyles, parentContainerStyles]}>