UNPKG
editorjs-form-builder
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
A notion like form builder
github.com/Ezehuche/editorjs-form-builder
Ezehuche/editorjs-form-builder
editorjs-form-builder
/
dist
/
esm
/
App.d.ts
12 lines
(11 loc)
•
295 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/// <reference types="react" />
interface
BuilderProps
{
onChange
:
(
data
:
any
) =>
void
;
initialData
: {
id
:
string
;
type
:
string
;
data
: {}; }[]; }
export
default
function
FormBuilder
(
{ onChange, initialData }:
BuilderProps
):
JSX
.
Element
;
export
{};