import React from 'react'; interface FigmaOnboardingIntroProps { section: number; totalSections: number; title: string; description: string; onStart: () => void; } export const FigmaOnboardingIntro: React.FC = ({ section, totalSections, title, description, onStart }) => { return (
{section} of {totalSections}
{title}
{description}
); }; interface FigmaOnboardingQuestionProps { question: string; placeholder?: string; value: string; onChange: (value: string) => void; onBack: () => void; onNext: () => void; sectionPosition: number; totalInSection: number; sectionName: string; canProceed: boolean; canSkip?: boolean; rows?: number; } export const FigmaOnboardingQuestion: React.FC = ({ question, placeholder = "Type your answer....", value, onChange, onBack, onNext, sectionPosition, totalInSection, sectionName, canProceed, canSkip = true, rows = 6 }) => { // Generate progress dots const renderProgressDots = () => { const dots = []; for (let i = 1; i <= 7; i++) { if (i === sectionPosition) { dots.push( ); } else { dots.push( ); } } return dots; }; return (
{question}