This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Button with onClick to open dialog | |
<p className='uploadcare-button' onClick={() => { this.openUploader() }}> | |
Click to add images | |
</p> | |
// function to open dialog with desired settings | |
openUploader () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "server", | |
"color": "5319e7" | |
}, | |
{ | |
"name": "bug", | |
"color": "ee0701" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "standard", | |
"rules": { | |
"semi": [2, "always"], | |
"no-extra-semi": 2, | |
"semi-spacing": [2, { "before": false, "after": true }] | |
} | |
} |