drawing-caiman-gogi
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

drawing-caiman-gogi

Figure-creator for caiman nms

NPM JavaScript Style Guide

Install

npm install --save drawing-caiman-gogi

Usage

//for Figure Creation use

import React, { Component } from 'react'

import { Closure } from 'drawing-caiman-gogi'

const props = {
  interactive: true,
  dimensions: {
    width: 750,
    height: 500
  },
  inputs: {
    top: [],
    left: [10],
    right: [2, 12, 5, 7]
  }
}

class Example extends Component {
  render() {
    return <Closure {...props}  />
  }
}

// for Figure Creation use

import React, { Component } from 'react'

import { Figure } from 'drawing-caiman-gogi'


const props = {
  formType: 'CROSS',
  size:20,
  color: 'red'
}

class Example extends Component {
  render() {
    return <Figure {...props}  />
  }
}


## License

MIT © [GogiLoloyan](https://github.com/GogiLoloyan)

Readme

Keywords

none

Package Sidebar

Install

npm i drawing-caiman-gogi

Weekly Downloads

8

Version

1.0.10

License

MIT

Unpacked Size

4.48 MB

Total Files

160

Last publish

Collaborators

  • gogi-caiman