Skip to content

Commit b6ae257

Browse files
chore(nav): removed spaces in styles obj
1 parent 0dbe7d3 commit b6ae257

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/navigation/tabs/ui/tab/Tab.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export const Tab = <T extends string, Y extends IconProps>({
7373
const primaryTabAppliedStyle = icon ? TabType.PRIMATY : TabType.SECONDARY;
7474
const [badgeBaseStyle, innerContentBaseStyle] =
7575
type === TabType.PRIMATY
76-
? [styles[`badge ${primaryTabAppliedStyle}`], styles[`inner content ${primaryTabAppliedStyle}`]]
77-
: [styles[`badge ${type}`], styles[`inner content ${TabType.SECONDARY}`]];
76+
? [styles[`badge${primaryTabAppliedStyle}`], styles[`innerContent${primaryTabAppliedStyle}`]]
77+
: [styles[`badge${type}`], styles[`innerContent${TabType.SECONDARY}`]];
7878

7979
return (
8080
<TouchableOpacity onPress={handleTabPress} style={[styles.container, style]} {...props}>

src/navigation/tabs/ui/tab/tab.styles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ export const styles = StyleSheet.create({
99

1010
paddingVertical: 14,
1111
},
12-
[`badge ${TabType.PRIMATY}`]: {
12+
[`badge${TabType.PRIMATY}`]: {
1313
top: -2,
1414
zIndex: 1,
1515
position: 'absolute',
1616

1717
alignSelf: 'flex-start',
1818
},
19-
[`badge ${TabType.SECONDARY}`]: {
19+
[`badge${TabType.SECONDARY}`]: {
2020
end: 4,
2121
},
22-
[`inner content ${TabType.PRIMATY}`]: {
22+
[`innerContent${TabType.PRIMATY}`]: {
2323
gap: 2,
2424
alignItems: 'center',
2525
},
26-
[`inner content ${TabType.SECONDARY}`]: {
26+
[`innerContent${TabType.SECONDARY}`]: {
2727
gap: 8,
2828
flexDirection: 'row',
2929
alignItems: 'center',

0 commit comments

Comments
 (0)