Skip to content

Commit

Permalink
Fix typedoc: no longer need to import React in React 17
Browse files Browse the repository at this point in the history
  • Loading branch information
turnipdabeets committed Sep 28, 2023
1 parent fba1e0d commit 7d7add8
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions example/__tests__/App-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
*/

import 'react-native';
import React from 'react';

// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
// import renderer from 'react-test-renderer';

it('renders correctly', () => {
});
1 change: 0 additions & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { useEffect } from "react";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
Expand Down
1 change: 0 additions & 1 deletion example/src/Views/Demo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import {
SafeAreaView,
ScrollView,
Expand Down
1 change: 0 additions & 1 deletion example/src/Views/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { SafeAreaView, ScrollView, Text } from "react-native";
import { Button } from "@rneui/themed";
import Config from "../Config";
Expand Down
1 change: 0 additions & 1 deletion example/src/Views/NavRow.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { ListItem } from "@rneui/themed";
import { Color } from "./styles";

Expand Down
1 change: 0 additions & 1 deletion example/src/Views/PasskeyManagementView.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { ScrollView, View } from "react-native";
import { Embedded } from "@beyondidentity/bi-sdk-react-native";
import ButtonCardView from "./ButtonCardView";
Expand Down
1 change: 0 additions & 1 deletion example/src/Views/ResponseLabelView.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { ActivityIndicator, View, Text } from "react-native";
import { Color } from "./styles";

Expand Down
1 change: 0 additions & 1 deletion example/src/Views/URLValidationView.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { ScrollView, View } from "react-native";
import { Embedded } from "@beyondidentity/bi-sdk-react-native";
import InputCardView from "./InputCardView";
Expand Down
1 change: 0 additions & 1 deletion example/src/Views/Webviews.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import { WebView } from "react-native-webview";

export const Support = () => {
Expand Down

0 comments on commit 7d7add8

Please sign in to comment.