Skip to content

Commit 14496f0

Browse files
fix: prettier formatting for CI
1 parent 46c4f89 commit 14496f0

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { getHostComponent } from 'react-native-nitro-modules';
22
import <%- 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);

packages/create-react-native-library/templates/nitro-view/src/{%- project.name %}.nitro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export interface <%- project.name %>Methods extends HybridViewMethods {}
1212
export type <%- project.name %> = HybridView<
1313
<%- project.name %>Props,
1414
<%- project.name %>Methods
15-
>;
15+
>;

0 commit comments

Comments
 (0)