diff --git a/src/Button/Button.tsx b/src/Button/Button.tsx index 7fcbdd1..da663a8 100644 --- a/src/Button/Button.tsx +++ b/src/Button/Button.tsx @@ -98,9 +98,13 @@ const Button = ({ accessibilityLabel={accessibilityLabel} > - - {children} - + {typeof children === 'string' ? ( + + {children} + + ) : ( + children + )} @@ -174,11 +178,11 @@ const Borders = ({ style, ]} > - {outer && ( + {Array.isArray(outer) && ( - {inner && inner.length > 0 && ( + {Array.isArray(inner) && inner.length > 0 && ( - {focus && !active && ( + {Array.isArray(focus) && !active && (