1.7.0 • Published 1 year ago

@zef-dev/convoworks-intent-model-editor v1.7.0

Weekly downloads
16
License
MIT
Repository
github
Last release
1 year ago

Convoworks Intent Model Editor

Intent and entity editors for the Convoworks framework

NPM JavaScript Style Guide

Install

npm

npm install --save @zef-dev/convoworks-intent-model-editor

yarn

yarn add @zef-dev/convoworks-intent-model-editor

Usage

React example

import React, { Component } from 'react'
import {
  IntentEditor,
  EntityEditor
} from '@zef-dev/convoworks-intent-model-editor'
import '@zef-dev/convoworks-intent-model-editor/dist/index.css'

class IntentExample extends Component {
  render() {
    return (
      <IntentEditor
        intent={{}} // object
        entities={[]} // array
        systemEntities={[]} // array
        onUpdate={fn} // function
      />
    )
  }
}

class EntityExample extends Component {
  render() {
    return (
      <EntityEditor
        entity={{}} // object
        onUpdate={fn} // function 
      />
    )
  }
}

License

MIT © zef-dev

1.5.5

2 years ago

1.5.4

2 years ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.10

2 years ago

1.5.12

1 year ago

1.5.11

2 years ago

1.5.9

2 years ago

1.5.7

2 years ago

1.5.6

2 years ago

1.5.3

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.9

2 years ago

1.4.8

2 years ago

1.4.7

2 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.7

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago