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[]; networks: Network[];
}; };
type LumeContextType = { export type LumeContextType = {
isLoggedIn: boolean; isLoggedIn: boolean;
setIsLoggedIn: (value: boolean) => void; setIsLoggedIn: (value: boolean) => void;
lume: LumeObject; lume: LumeObject;

View File

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