parent
9732ea6923
commit
652ccabbb4
5 changed files with 33 additions and 7 deletions
@ -0,0 +1,11 @@ |
||||
import React from "react"; |
||||
|
||||
const Blackout = ({show}) => { |
||||
return ( |
||||
show ? |
||||
<div className="blackout"></div> |
||||
: null |
||||
); |
||||
}; |
||||
|
||||
export default Blackout; |
@ -1,7 +1,10 @@ |
||||
import {createContext} from "react"; |
||||
|
||||
import Mode from "../models/Mode"; |
||||
|
||||
const SlideContext = createContext({ |
||||
slide : 0, |
||||
mode : Mode.NORMAL, |
||||
setSlide : () => {} |
||||
}); |
||||
|
||||
|
Loading…
Reference in new issue