@refinio/one.ui
    Preparing search index...
    • SliderAnswer component

      Parameters

      • props: {
            answer?: AnswerSlider;
            answerOptions: AnswerSlider[];
            enabled: boolean;
            id?: string;
            onChange: (answer: AnswerSlider) => void;
        }
        • Optionalanswer?: AnswerSlider

          the answer for the slider example: { code: '1', codeIndex: 0, label: 'Option 1' }

        • answerOptions: AnswerSlider[]

          the answer options for the slider example: { code: '1', codeIndex: 0, label: 'Option 1' }

        • enabled: boolean

          if the question is enabled

        • Optionalid?: string

          the id of the slider

        • onChange: (answer: AnswerSlider) => void

          function to call when the slider value changes

      Returns ReactElement

      The SliderAnswer component