在应用程序中创建导游
[(https://github.com/gilbarbara/react-joyride/actions/workflows/ci.yml) [(https://sonarcloud.io/summary/new_code?id=gilbarbara_react-joyride)] [(https://sonarcloud.io/summary/new_code?id=gilbarbara_react-joyride)]
为你的应用创造精彩的旅程!
向新用户显示您的应用程序或解释新功能的功能 。
资源
□ 设置
(原始内容存档于2019-09-29) (英语). ```bash npm i react-joyride
□ 快开始
* 构件 API
ZZ1ZZ
虎克 API
(原始内容存档于2019-09-29). ```tsx
import { useJoyride } from 'react-joyride';
const steps = [
{ target: '.my-first-step', content: 'This is my awesome feature!' },
{ target: '.my-other-step', content: 'This is another awesome feature!' },
];
export function App() {
const { controls, state, Tour } = useJoyride({ steps });
return (
);
}□ 特工技能
允许AI助手使用React Joyride执行导游.
该技能使你的AI助理全面了解API,步骤配置,事件,自定义组件,以及常见模式.
ZZCODE3 乐团
□ 从 v2 迁移
请检查access-date=中的日期值 (帮助) [移民指南] (https://react-joyride.com/docs/migration) 关于从v2升级的详细指示.
□ 许可证 麻省理工学院