在应用程序中创建导览
Showcase your app to new users or explain the functionality of new features.
steps and you're good to gonpm i react-joyride
import { Joyride } 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() {
return (
);
}
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 (
);
}
Enable AI assistants to implement guided tours with React Joyride.
The skill gives your AI assistant comprehensive knowledge of the API, step configuration, events, custom components, and common patterns.
npx skills add gilbarbara/react-joyride
Check the migration guide for detailed instructions on upgrading from v2.
MIT
暂无开放 Issues,或尚未同步最近议题。