diff --git a/en/react-native-apple-authentication.md b/en/react-native-apple-authentication.md index 2d4b4d88615ac776ca310d8f235e1eb6a71acdbc..6c13ccf9655d35d44d86b63087ee92bad2270af8 100644 --- a/en/react-native-apple-authentication.md +++ b/en/react-native-apple-authentication.md @@ -60,6 +60,7 @@ The following code shows the basic use scenario of the repository: ```tsx import React from "react"; +import { View } from 'react-native'; import { appleAuthHarmony, AppleButton, diff --git a/zh-cn/react-native-apple-authentication.md b/zh-cn/react-native-apple-authentication.md index 616bccc0b907c06ea63a04e83c42233744ddbb02..f98e160e65c05e1f8e3cda7e36ffb1584c5699ce 100644 --- a/zh-cn/react-native-apple-authentication.md +++ b/zh-cn/react-native-apple-authentication.md @@ -59,6 +59,7 @@ Apple官方配置说明:[Configure Sign in with Apple for the web](https://dev ```tsx import React from 'react'; +import { View } from 'react-native'; import { appleAuthHarmony, AppleButton } from '@invertase/react-native-apple-authentication'; const AppleAuthenticationDemo: React.FC = (): JSX.Element => {