From cd7c9c4398ce12a1e965786d91fdbe6e3c42ee0a Mon Sep 17 00:00:00 2001 From: Danijel Dedic Date: Sun, 17 Nov 2019 01:25:54 +0100 Subject: [PATCH] fix: pass labelStyle prop in DrawerItem label (#170) --- packages/drawer/src/views/DrawerItem.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/drawer/src/views/DrawerItem.tsx b/packages/drawer/src/views/DrawerItem.tsx index 2823af06..a951d62e 100644 --- a/packages/drawer/src/views/DrawerItem.tsx +++ b/packages/drawer/src/views/DrawerItem.tsx @@ -64,6 +64,7 @@ type Props = { export default function DrawerItem({ icon, label, + labelStyle, focused = false, activeTintColor = '#6200ee', inactiveTintColor = 'rgba(0, 0, 0, .68)', @@ -108,10 +109,13 @@ export default function DrawerItem({ {typeof label === 'string' ? ( {label}