refactor: export LumeContextType

This commit is contained in:
Derrick Hammer 2023-10-12 13:03:25 -04:00
parent 06a2f94be0
commit c77725d915
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 10 additions and 3 deletions

View File

@ -30,7 +30,7 @@ type LumeObject = {
networks: Network[];
};
type LumeContextType = {
export type LumeContextType = {
isLoggedIn: boolean;
setIsLoggedIn: (value: boolean) => void;
lume: LumeObject;

View File

@ -1,7 +1,14 @@
export {
default as LumeProvider,
useLume,
type LumeContextType,
} from "./components/lume/LumeProvider";
export { default as LumeDashboard, LumeDashboardTrigger } from "./components/lume/LumeDashboard/LumeDashboard";
export { default as LumeIdentity, LumeIdentityTrigger } from "./components/lume/LumeIdentity/LumeIdentity";
export {
default as LumeDashboard,
LumeDashboardTrigger,
} from "./components/lume/LumeDashboard/LumeDashboard";
export {
default as LumeIdentity,
LumeIdentityTrigger,
} from "./components/lume/LumeIdentity/LumeIdentity";
import "../styles/globals.css";