Hey Luigi Poole am really interested in using your module for a project but i don't quiet get the usage. Am on a Mac OSX could you help me out please. I'd be so grateful `
Here is my code snippet
i created a function
startHotspot = (opts) => { console.log('Starting Hotspot.......'); hotspot.enable(opts) .then(function() { console.log('Hotspot Enabled'); }) .catch(function(e) { console.log('Something went wrong; Perms?', e); }); console.log('Hotspot Started....... Well');}
and i called it
<Button style={{width:'50px', height:'50px', position: 'relative'}} onClick={() => this.startHotspot(opts)}> <MdFingerprint size={30} style={{position: 'absolute', top: '10px', left: '10px'}}/> </Button>
with the opts defined outside the react class it run well but no hotspot was created
Hey Luigi Poole am really interested in using your module for a project but i don't quiet get the usage. Am on a Mac OSX could you help me out please. I'd be so grateful `
Here is my code snippet
i created a function
startHotspot = (opts) => { console.log('Starting Hotspot.......'); hotspot.enable(opts) .then(function() { console.log('Hotspot Enabled'); }) .catch(function(e) { console.log('Something went wrong; Perms?', e); }); console.log('Hotspot Started....... Well');}
and i called it
<Button style={{width:'50px', height:'50px', position: 'relative'}} onClick={() => this.startHotspot(opts)}> <MdFingerprint size={30} style={{position: 'absolute', top: '10px', left: '10px'}}/> </Button>
with the opts defined outside the react class it run well but no hotspot was created