How to use the survey-react/survey.react.defaultBootstrapCss function in survey-react

To help you get started, we’ve selected a few survey-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github felipemoraes / searchx-frontend / src / js / app / tasks / components / form / Form.js View on Github external
render() {
        Survey.Survey.cssType = "bootstrap";
        Survey.defaultBootstrapCss.navigationButton = "btn btn-green";
        

        let survey = new Survey.Model(this.props.formData);
        survey.completedHtml = `<div class="message">${survey.completedHtml}</div>`;

        return (
            
                <div>
                    
                </div>
            
        );
    }

survey-react

survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.

MIT
Latest version published 1 day ago

Package Health Score

95 / 100
Full package analysis