Skip to content

Easily embed CognitoForms in React. This package was forked from https://github.com/tylermenezes/cognitoforms-react

Notifications You must be signed in to change notification settings

wpromote/cognitoforms-react

 
 

Repository files navigation

CognitoForms React


NO LONGER IN USE

We are now using the original package linked just below.

Easily embed CognitoForms in React. This package was forked from @tylermenezes/cognitorforms-react

Usage


import CognitoForm from '@wpromote/cognitoforms-react';

const MyComponent = () => {
	return (
		<>
			<h1>My Demo Page</h1>
			<CognitoForm
				formId={61}
				accountId={`SOMEACCOUNTIDSTRING`}
				prefill={{
					Name: {
						First: 'John',
						Last: 'Peter',
					},
				}}
				css='* { color: red !important }'
			/>
		</>
	);
};

export default MyComponent;

License


Artistic 2.0

About

Easily embed CognitoForms in React. This package was forked from https://github.com/tylermenezes/cognitoforms-react

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages

  • JavaScript 99.2%
  • Makefile 0.8%