Example of integration Aidbox Forms Renderer with React.js
import React from 'react';
const AidboxFormRenderer = ({ id }) => {
return (
<aidbox-form-renderer
style={{ width: '100%', border: 'none', alignSelf: 'stretch', display: 'flex' }}
questionnaire-id={id}
></aidbox-form-renderer>
);
};
export default AidboxFormRenderer;
Please refer to Aidbox Forms documentation for more information about available attributes.