mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-15 10:17:54 +08:00
fix: add import React to component files
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { PropsWithChildren, useState } from "react";
|
||||
import React, { PropsWithChildren, useState } from "react";
|
||||
import {
|
||||
useWindowDimensions,
|
||||
ColorSchemeName,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {
|
||||
import React, {
|
||||
createElement,
|
||||
FunctionComponent,
|
||||
ComponentClass,
|
||||
|
||||
Reference in New Issue
Block a user