0.0.21 • Published 2 months ago

docs-embeded-react v0.0.21

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months 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

2 months ago

0.0.20

10 months ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.19

10 months ago

0.0.14

11 months ago

0.0.15

11 months ago

0.0.16

11 months ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago