0.0.21 • Published 1 year ago

docs-embeded-react v0.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

docs-embeded-react

npm version

Linte Docs - Embeded Form React Component

Basic Usage

import React from 'react'
import { render } from 'react-dom'
import DocsForm from 'docs-embeded-react';

function App() {
  return (
    <div className="App">
      <DocsForm
        hash="0bb8c319-b2d2-44e4-be6a-42cb80481094"
        variables={{ 'uLgYyg8g7EnrRT4cL': 'Guilherme' }} // fill by ID
        variablesbyName={{ 'Sobrenome': 'Morais'}} // fill by name
        onSave={({ id, variables, }) => console.log(id, variables) } // saved variables
        onLoad={({ variables }) => console.log() } // all variables 
      />
    </div>
  );
}

render(App, document.getElementById('root'))

Live Examples

Installation

$ npm install docs-embeded-react --save
0.0.21

1 year ago

0.0.20

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago