This package helps you render the forms via abi, and have input validations built-in to help you build faster your dapp on starknet.
npm install starknet-abi-forms
- In your Dapp Import the
ABIForm
and use it.- Sample usage you can checkout at /example/react-app/starknet-abi-form-driver
- To Import form styles
import "starknet-abi-forms/index.css";
from your usage.- You can add your styling with as below by overriding css from a new css file.
- Checkout sample react project at /example/react-app/starknet-abi-form-driver
pnpm install
- to install dependencies initiallypnpm dev
- to run in development mode in storybookyalc publish
- to publish to local pnpm store
- Support enums in function params
- Support for Cairo v1, v0