diff --git a/en/js/redux-persist.md b/en/js/redux-persist.md index 63c7d2feac0159d924debd99a5eb6ce07b66e5c7..dacbb25dc1efacd3a81ff16fdf6ecca84f74329b 100644 --- a/en/js/redux-persist.md +++ b/en/js/redux-persist.md @@ -9,7 +9,7 @@

-> [!TIP] [GitHub address](https://github.com/rt2zz/redux-persist/releases/tag/v6.0.0) +> [!TIP] [GitHub address](https://github.com/rt2zz/redux-persist/tree/v6.0.0) ## Installation and Usage diff --git a/en/react-native-QRCode.md b/en/react-native-QRCode.md index 0c9a37d3dfe44015ffba1d93f4d8ae95a03e9633..732b4153689d676d21d06c7f419486aff33190ef 100644 --- a/en/react-native-QRCode.md +++ b/en/react-native-QRCode.md @@ -49,7 +49,7 @@ import QRCode from "react-native-qrcode"; import { StyleSheet, View, TextInput, Button } from "react-native"; export const QrCodeExamle = () => { const [text, setText] = useState(""); - const [QRCodeValue, setQRCodeValue] = useState < any > null; + const [QRCodeValue, setQRCodeValue] = useState(null); const showQRCode = () => { setQRCodeValue(text); }; @@ -122,7 +122,7 @@ Check the release version information in the release address of the third-party ### QRCode -该库为 UI 组件库,通过配置属性标签,实现对应的功能。 +This library is a UI component library that implements corresponding functions by configuring attribute tags. | Name | Type | Description | Required | Platform | HarmonyOS Support | | ------- | ------ | --------------------------- | -------- | ----------- | ----------------- | @@ -137,4 +137,4 @@ Check the release version information in the release address of the third-party ## License -This project is licensed under [The MIT License (MIT)](https://github.com/react-native-oh-library/react-native-qrcode/blob/master/LICENSE). +This project is licensed under [The MIT License (MIT)](https://github.com/cssivision/react-native-qrcode/blob/master/LICENSE). diff --git a/en/react-native-base64.md b/en/react-native-base64.md index 36bac2f4db03c1435fa648fd89ea9cb2127ae659..32051bc11d4c406470176fce0b985e2f26a94af0 100644 --- a/en/react-native-base64.md +++ b/en/react-native-base64.md @@ -12,7 +12,7 @@

-> [!TIP] [GitHub address](https://github.com/eranbo/react-native-base64/releases/tag/0.2.1) +> [!TIP] [GitHub address](https://github.com/eranbo/react-native-base64/tree/0.2.1) ## Installation and Usage diff --git a/en/react-native-crypto-js.md b/en/react-native-crypto-js.md index 51287a15ade37be995dd45de5c5b7909a78ac373..3d0aee43da301b0a06ec760561181d2159917188 100644 --- a/en/react-native-crypto-js.md +++ b/en/react-native-crypto-js.md @@ -12,7 +12,7 @@

-> [!TIP] [GitHub address](https://github.com/imchintan/react-native-crypto-js/releases/tag/1.0.0) +> [!TIP] [GitHub address](https://github.com/imchintan/react-native-crypto-js/tree/1.0.0) ## Installation and Usage diff --git a/en/react-native-crypto.md b/en/react-native-crypto.md index 90d6b64b2c5a011e50bc95cf25d3e2261c170ed5..b1f6c1448a7a91c0a2ebcca99f6a0f79dee07fd9 100644 --- a/en/react-native-crypto.md +++ b/en/react-native-crypto.md @@ -12,7 +12,7 @@

-> [!TIP] [GitHub address](https://github.com/tradle/react-native-crypto) +> [!TIP] [GitHub address](https://github.com/tradle/react-native-crypto/tree/639d8e29ac1feae20f95f2e285851d5ed4898a9a) ## Installation and Usage diff --git a/en/react-native-easy-toast.md b/en/react-native-easy-toast.md index ee6424948746db0fae3018d8417d446c71c92c92..0f3fe3c99049826c8b3ecb618e31a0f71bc51594 100644 --- a/en/react-native-easy-toast.md +++ b/en/react-native-easy-toast.md @@ -40,22 +40,23 @@ The following code shows the basic use scenario of the repository: ```js import React, { Component } from "react"; -import { Text, View, Button } from "react-native"; -import { - Toast -} from "react-native-easy-toast"; +import { View, Button } from "react-native"; +import Toast from "react-native-easy-toast"; export default class App extends Component { - constructor(props) { - super(props); + constructor(props: any) { + super(props); } + + toast: any = null; + render() { return (