mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 18:02:42 +00:00
23 lines
564 B
JavaScript
23 lines
564 B
JavaScript
require('./lockNotification.less');
|
|
const React = require('react');
|
|
const createClass = require('create-react-class');
|
|
|
|
const LockNotification = createClass({
|
|
displayName : 'LockNotification',
|
|
getInitialState : function() {
|
|
return {
|
|
disableLock : ()=>{}
|
|
};
|
|
},
|
|
|
|
render : function(){
|
|
return <div className='lockNotification'>
|
|
<h1>BREW LOCKED</h1>
|
|
<p>{this.props.message || 'Unable to retrieve Lock Message'}</p>
|
|
<button onClick={()=>{this.props.disableLock();}}>CLICK TO UNLOCK</button>
|
|
</div>;
|
|
}
|
|
});
|
|
|
|
module.exports = LockNotification;
|