0.1.0 • Published 8 months ago

simple-dynamic-form v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

React Dynamic Form

Based on react-hooks-form & tailwindcss

Component Schema for Component

export type PropsItemType = InputFieldProps | SelectFieldProps | ArrayFieldProps;

export interface SchemaItemType {
    name: string;
    component: string;
    renderComponent?: string;
    props: PropsItemType[];
    defaultValue: unknown;
}

Examples

npm.io

Develop

pnpm i

pnpm dev