react sticky notes
npm install @react-latest-ui/react-sticky-notesbash
npm install @react-latest-ui/react-sticky-notes --save
`
Setting Up
`bash
git clone https://github.com/react-latest-ui/react-sticky-notes.git
npm install
npm start run
`
Features
* Pure React Sticky Notes
* Draggable & Resizable Stickies
* Inline Content Editable
* Configurable Sticky Colors
Usage
`javascript
import React, { Component } from 'react';
import ReactStickyNotes from '@react-latest-ui/react-sticky-notes';
class MyApp extends Component {
constructor(props) {
super(props);
}
render() {
return (
)
}
});
`
$3
`javascript
sessionKey: ?String,
colors: ?Array = [HexCodes],
notes: ?Array = [{
color: ?HexCode,
text: ?String
}],
containerWidth: ?String{px|%},
containerHeight: ?String{px|%},
noteWidth: ?Number,
noteHeight: ?Number,
footer: ?Boolean = {true|false},
onBeforeChange: (type:String, payload:Object, notes: Array) => {
return payload;
}
onChange: (type:String, payload:Object, notes: Array) => {
}
``