@jeeneesh/common-form
v1.0.0
Published
A reusable React form component built with MUI.
Readme
CommonForm React Component
Reusable React form component built with MUI.
Install
npm install common-formUsage
import CommonForm from 'common-form';
// Example usage
<CommonForm
title="My Form"
fields={[{ label: 'Name', name: 'name', type: 'text', required: true }]}
onSubmit={async (data) => console.log(data)}
/>Build & Publish
npm run build
npm publishPeer Dependencies
- react >=17.0.0
- @mui/material >=5.0.0
