Skip to content

weflex/react-dashed-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-dashed-box

react-dashed-box logo

Dashed Box Component written in React.

Installation

$ npm install react-dashed-box --save

Usage

import DashedBox from 'react-dashed-box';

class ExampleApp extends React.Component {
  render() {
    return <DashedBox height={100} width={100} text="click to add" />
  }
}

Properties

property type description
className string the class name
height number the height of box
width number the width of box
text string the text of box
onClick func fired when clicked

License

MIT

About

Dashed Box Component written in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published