File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
import * as React from 'react' ;
5
5
import { HeaderButton , type HeaderButtonProps } from './HeaderButton' ;
6
6
import { StyleSheet , Platform , View , Text } from 'react-native' ;
7
- import { OverflowButton , textTransformer , type OverflowButtonProps } from './OverflowButton' ;
7
+ import { OverflowButton , type OverflowButtonProps } from './OverflowButton' ;
8
8
import type { StyleObj } from 'react-native/Libraries/StyleSheet/StyleSheetTypes' ;
9
9
10
+ const textTransformer = ( label : string ) =>
11
+ IS_IOS ? label . charAt ( 0 ) . toUpperCase ( ) + label . substr ( 1 ) : label . toUpperCase ( ) ;
12
+
10
13
type ItemProps = {
11
14
title : string ,
12
15
show : string ,
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ import type { StyleObj } from 'react-native/Libraries/StyleSheet/StyleSheetTypes
15
15
16
16
const IS_IOS = Platform . OS === 'ios' ;
17
17
18
- export const textTransformer = ( label : string ) =>
19
- IS_IOS ? label . charAt ( 0 ) . toUpperCase ( ) + label . substr ( 1 ) : label . toUpperCase ( ) ;
20
-
21
18
export type OverflowButtonProps = {
22
19
OverflowIcon ?: React . Element < * > ,
23
20
cancelButtonLabel : string ,
You can’t perform that action at this time.
0 commit comments