diff --git a/packages/bottom-tabs/src/views/BottomTabItem.tsx b/packages/bottom-tabs/src/views/BottomTabItem.tsx index 15a1ada2..044ba101 100644 --- a/packages/bottom-tabs/src/views/BottomTabItem.tsx +++ b/packages/bottom-tabs/src/views/BottomTabItem.tsx @@ -134,6 +134,7 @@ export default function BottomTabBarItem({ onPress, to, accessibilityRole, + accessibilityState, ...rest }: BottomTabBarButtonProps) => { if (Platform.OS === 'web' && to) { @@ -162,6 +163,7 @@ export default function BottomTabBarItem({ {children} diff --git a/packages/drawer/src/views/DrawerItem.tsx b/packages/drawer/src/views/DrawerItem.tsx index b157a84a..950681cd 100644 --- a/packages/drawer/src/views/DrawerItem.tsx +++ b/packages/drawer/src/views/DrawerItem.tsx @@ -86,6 +86,7 @@ const Touchable = ({ onPress, to, accessibilityRole, + accessibilityState, delayPressIn, ...rest }: TouchableWithoutFeedbackProps & { @@ -119,6 +120,7 @@ const Touchable = ({ diff --git a/packages/material-bottom-tabs/src/views/MaterialBottomTabView.tsx b/packages/material-bottom-tabs/src/views/MaterialBottomTabView.tsx index 30ce53ab..b86a426b 100644 --- a/packages/material-bottom-tabs/src/views/MaterialBottomTabView.tsx +++ b/packages/material-bottom-tabs/src/views/MaterialBottomTabView.tsx @@ -111,10 +111,13 @@ function MaterialBottomTabViewInner({ ? ({ onPress, route, - accessibilityRole: _0, - borderless: _1, - centered: _2, - rippleColor: _3, + /* eslint-disable @typescript-eslint/no-unused-vars */ + accessibilityRole, + accessibilityState, + borderless, + centered, + rippleColor, + /* eslint-enable @typescript-eslint/no-unused-vars */ style, ...rest }) => {