在React应用程序中创建导览的组件

605 阅读1分钟

image.png

只是另一个帮助在React应用程序中创建一个漂亮的导游(产品穿行,应用程序入职)的组件。

如何使用它

1.安装。

# NPM
$ npm i simple-user-tips

2.创建一个基本的导览。

<Tips data={data}/>

3.定义导游的数据。

const data = [
  {
    img: "1.jpg",
    title: "Step 1",
    desc: "Description 1"
  },
  {
    img: "2.jpg",
    title: "Step 2",
    desc: "Description 2"
  },
  {
    img: "3.jpg",
    title: "Step 3",
    desc: "Description 3"
  },
  // ...
]

预览

image.png

The postBeautiful Guided Tour Component For Reactappeared first onReactScript.