diff --git a/src/Context/FabContext.jsx b/src/Context/FabContext.jsx new file mode 100644 index 00000000..7151e6d7 --- /dev/null +++ b/src/Context/FabContext.jsx @@ -0,0 +1,15 @@ +import React, { createContext, useContext, useState } from "react"; + +const FabContext = createContext(); + +export const FabProvider = ({ children }) => { + const [actions, setActions] = useState([]); + + return ( + + {children} + + ); +}; + +export const useFab = () => useContext(FabContext); \ No newline at end of file