Skip to content

Commit

Permalink
add support for importing main file
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon committed Jun 3, 2024
1 parent 11bcd44 commit c17b6b8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* @flow
*/

'use client';

import * as React from 'react';
import StyleSheet from '../StyleSheet';
import View from '../View';
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native-web/src/exports/render/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* @noflow
*/

'use client';

import {
hydrate as domLegacyHydrate,
render as domLegacyRender
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native-web/src/exports/useColorScheme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
* @flow
*/

'use client';

import * as React from 'react';
import type { ColorSchemeName } from '../Appearance';
import Appearance from '../Appearance';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @flow strict-local
*/

'use client';
'use strict';

import type { DisplayMetrics } from '../Dimensions';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @format
*/

'use client';
'use strict';

import AnimatedProps from './nodes/AnimatedProps';
Expand Down

0 comments on commit c17b6b8

Please sign in to comment.