import { useSelector } from "react-redux"; import { RootStore } from "../redux/store"; import React, { useState } from 'react'; const Onboarding = () => { const [counter, setCounter] = useState(0); const handleClick = () => { setCounter(counter + 1); } const vscMediaUrl = useSelector( (state: RootStore) => state.config.vscMediaUrl ); return (
{counter === 0 && (

Welcome to Continue!

Intro
)} {counter === 1 && (

Answer coding questions

Explain

Ask Continue about a part of your code to get another perspective

)} {counter === 2 && (

Edit in natural language

Edit

Highlight a section of code and instruct Continue to refactor it

)} {counter === 3 && (

Generate files from scratch

Generate

Let Continue build the scaffolding of Python scripts, React components, and more

)}

Click to learn how to use Continue...

); } export default Onboarding;