1.1.0 • Published 2 years ago
@clreddy21/cognitoforms-react v1.1.0
CognitoForms React
A React component for embedding CognitoForms forms, making it easy to embed in a React-like way.
Usage:
import CognitoForm from '@tylermenezes/cognitoforms-react';
export default () => (
<>
<h1>My Demo Page</h1>
<CognitoForm
formId={61}
accountId={`SOMEACCOUNTIDSTRING`}
prefill={{
Name: {
First: 'John',
Last: 'Peter',
}
}}
css="* { color: red !important }"
/>
</h1>
);
1.1.0
2 years ago