1.0.10 • Published 4 years ago

drawing-caiman-gogi v1.0.10

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
4 years ago

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)
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago