refactor: export LumeContextType
This commit is contained in:
parent
06a2f94be0
commit
c77725d915
|
@ -30,7 +30,7 @@ type LumeObject = {
|
|||
networks: Network[];
|
||||
};
|
||||
|
||||
type LumeContextType = {
|
||||
export type LumeContextType = {
|
||||
isLoggedIn: boolean;
|
||||
setIsLoggedIn: (value: boolean) => void;
|
||||
lume: LumeObject;
|
||||
|
|
11
src/index.ts
11
src/index.ts
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue