File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 17
17
" android" ,
18
18
" ios"
19
19
],
20
+ "owner" : " react-native-paper" ,
20
21
"ios" : {
21
22
"bundleIdentifier" : " com.callstack.reactnativepaperexample" ,
22
23
"buildNumber" : " 3.0.0"
Original file line number Diff line number Diff line change @@ -298,10 +298,10 @@ const Dropdown = React.forwardRef(function <T>(
298
298
) }
299
299
</ View >
300
300
) ;
301
- } ) as < T = any > (
301
+ } ) as ( < T = any > (
302
302
props : Props < T > ,
303
303
ref : React . RefObject < DropdownRefAttributes < T > >
304
- ) => JSX . Element ;
304
+ ) => JSX . Element ) & { displayName : string } ;
305
305
306
306
const styles = StyleSheet . create ( {
307
307
container : {
@@ -321,4 +321,6 @@ const styles = StyleSheet.create({
321
321
} ,
322
322
} ) ;
323
323
324
+ Dropdown . displayName = 'Dropdown' ;
325
+
324
326
export default Dropdown ;
Original file line number Diff line number Diff line change @@ -104,4 +104,6 @@ function DropdownOption<T = any>(props: Props<T>) {
104
104
) ;
105
105
}
106
106
107
+ DropdownOption . displayName = 'Dropdown.Option' ;
108
+
107
109
export default withTheme ( DropdownOption ) ;
Original file line number Diff line number Diff line change 1
- import Dropdown from './Dropdown' ;
1
+ import DropdownComponent from './Dropdown' ;
2
2
import DropdownOption from './DropdownOption' ;
3
3
4
- export default Object . assign (
4
+ const Dropdown = Object . assign (
5
5
// @component ./Dropdown.tsx
6
- Dropdown ,
6
+ DropdownComponent ,
7
7
{
8
8
// @component ./DropdownOption.tsx
9
9
Option : DropdownOption ,
10
10
}
11
11
) ;
12
+ export default Dropdown ;
You can’t perform that action at this time.
0 commit comments