1.1.0 • Published 3 years ago

react-wizard-questions v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Getting Started

Basic Usage

const questionWizardQuestions: IQuestion[] = [
  {
    title: "What's your goal?",
    options: [
      {
        id: '1',
        imageUrl: '/images/online-learning.png',
        label: 'Learn the Basics',
        isSelected: false,
      },
      {
        id: '2',
        imageUrl: '/images/portfolio.png',
        label: 'Track my Portfolio',
        isSelected: false,
      },
      {
        id: '3',
        imageUrl: '/images/portfolio.png',
        label: 'Track my Portfolio',
        isSelected: false,
      },
    ],
  },
  {
    title: "What's the meaning of life?",
    options: [
      {
        id: '4',
        imageUrl: '/images/online-learning.png',
        label: 'Eat & Code',
        isSelected: false,
      },
    ],
  },
];


<QuestionWizard
  questions={questionWizardQuestions}
  className="custom-question-wizard"
  onChange={() => console.log('changed step!')}
  onFinish={(results) => console.log(results)}
  themeProps={{
    ...defaultWizardThemeProps,
    titleColor: colors.light,
  }}
/>
1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago