refactor: export LumeContextType
This commit is contained in:
parent
06a2f94be0
commit
c77725d915
|
@ -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;
|
||||||
|
|
11
src/index.ts
11
src/index.ts
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue