diff --git a/src/provider.tsx b/src/provider.tsx index ee2ed60..592cf09 100644 --- a/src/provider.tsx +++ b/src/provider.tsx @@ -1,4 +1,5 @@ -import React, { PropsWithChildren, useState } from "react"; +import * as React from "react"; +import { PropsWithChildren, useState } from "react"; import { useWindowDimensions, ColorSchemeName, diff --git a/src/styled.tsx b/src/styled.tsx index 82d9464..a63bdfc 100644 --- a/src/styled.tsx +++ b/src/styled.tsx @@ -1,4 +1,5 @@ -import React, { +import * as React from "react"; +import { createElement, FunctionComponent, ComponentClass,