Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
 
 

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages