Skip to content

Commit

Permalink
docs: 调整 image tao 文档中引入包名 (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud authored Aug 8, 2023
1 parent 9a3d339 commit 2e1e8f1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/packages/image/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## 安装

```tsx
import { Image } from '@nutui/nutui-react';
import { Image } from '@nutui/nutui-react-taro';
```

## 代码演示
Expand All @@ -20,7 +20,7 @@ import { Image } from '@nutui/nutui-react';

```tsx
import React from "react";
import { Image } from '@nutui/nutui-react';
import { Image } from '@nutui/nutui-react-taro';

const App = () => {
const src =
Expand All @@ -42,7 +42,7 @@ export default App;

```tsx
import React from "react";
import { Image } from '@nutui/nutui-react';
import { Image } from '@nutui/nutui-react-taro';

const App = () => {
const src =
Expand Down Expand Up @@ -84,8 +84,8 @@ export default App;

```tsx
import React from "react";
import { Image } from '@nutui/nutui-react';
import { Loading } from '@nutui/icons-react';
import { Image } from '@nutui/nutui-react-taro';
import { Loading } from '@nutui/icons-react-taro';

const App = () => {
const src =
Expand Down Expand Up @@ -115,8 +115,8 @@ export default App;

```tsx
import React from "react";
import { Image } from '@nutui/nutui-react';
import { CircleClose } from '@nutui/icons-react';
import { Image } from '@nutui/nutui-react-taro';
import { CircleClose } from '@nutui/icons-react-taro';

const App = () => {
return <>
Expand All @@ -140,8 +140,8 @@ export default App;

```tsx
import React from "react";
import { Cell, Col, Image } from '@nutui/nutui-react';
import { CircleClose } from '@nutui/icons-react';
import { Cell, Col, Image } from '@nutui/nutui-react-taro';
import { CircleClose } from '@nutui/icons-react-taro';

const App = () => {
return <>
Expand Down Expand Up @@ -173,8 +173,8 @@ export default App;

```tsx
import React from "react";
import { Cell, Col, Image } from '@nutui/nutui-react';
import { CircleClose } from '@nutui/icons-react';
import { Cell, Col, Image } from '@nutui/nutui-react-taro';
import { CircleClose } from '@nutui/icons-react-taro';

const App = () => {
return <>
Expand Down Expand Up @@ -211,7 +211,7 @@ export default App;

```tsx
import React from 'react'
import { Image } from '@nutui/nutui-react'
import { Image } from '@nutui/nutui-react-taro'
import { ScrollView } from '@tarojs/components'

const App = () => {
Expand Down

0 comments on commit 2e1e8f1

Please sign in to comment.