File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
packages/create-react-native-library/templates/nitro-view/src Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11import { getHostComponent } from 'react-native-nitro-modules' ;
22import < % - project . name % > Config from '../nitrogen/generated/shared/json/<%- project.name %>Config.json' ;
3- import type { < % - project . name % > Methods , < % - project . name % > Props } from './<%- project.name %>.nitro' ;
3+ import type {
4+ < % - project . name % > Methods ,
5+ < % - project . name % > Props ,
6+ } from './<%- project.name %>.nitro' ;
47
5- export const < % - project . name % > View = getHostComponent << % - project . name % > Props , < % - project . name % > Methods > (
6- ' <%- project.name %>' ,
7- ( ) => < % - project . name % > Config
8- ) ;
8+ export const < % - project . name % > View = getHostComponent <
9+ < % - project . name % > Props ,
10+ < % - project . name % > Methods
11+ > ( '<%- project.name %>' , ( ) => < % - project . name % > Config ) ;
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ export interface <%- project.name %>Methods extends HybridViewMethods {}
1212export type < % - project . name % > = HybridView <
1313 < % - project . name % > Props ,
1414 < % - project . name % > Methods
15- > ;
15+ > ;
You can’t perform that action at this time.
0 commit comments