0.19.0 • Published 3 years ago
rn-form-builder v0.19.0
rn-form-builder
This library support generate form by json schema
Installation
npm install rn-form-builder
Usage
import * as React from 'react'
import { FormDynamic, Schema } from 'rn-form-builder'
import jsonSchema from './shema.json'
import widgets from './Widgets'
const schema: Schema = jsonSchema
export default function App() {
const onSubmit = (values, formHelper) => {
// **** Handle submit form ****
}
return (
<SafeAreaView style={styles.container}>
<View style={styles.content}>
<FormDynamic schema={schema} widgets={widgets} onSubmit={onSubmit} />
</View>
</SafeAreaView>
)
}
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
0.19.0
3 years ago
0.17.0
3 years ago
0.18.0
3 years ago
0.16.0
4 years ago
0.15.2
4 years ago
0.15.0
4 years ago
0.15.1
4 years ago
0.14.0
4 years ago
0.13.0
4 years ago
0.12.0
4 years ago
0.12.1
4 years ago
0.11.0
4 years ago
0.10.0
4 years ago
0.9.0
4 years ago
0.8.1
4 years ago
0.9.2
4 years ago
0.9.1
4 years ago
0.8.0
4 years ago
0.7.0
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.0
4 years ago
0.2.0
4 years ago