mirror of
https://github.com/logos-messaging/waku-react.git
synced 2026-01-07 00:23:07 +00:00
remove export
This commit is contained in:
parent
9c3ee9c926
commit
8200aa5c91
@ -7,6 +7,7 @@ import type {
|
||||
FullNodeOptions,
|
||||
LightNodeOptions,
|
||||
RelayNodeOptions,
|
||||
ReactChildrenProps,
|
||||
} from "./types";
|
||||
import {
|
||||
useCreateFullNode,
|
||||
@ -37,10 +38,6 @@ const WakuContext = React.createContext<WakuContextType<Waku>>({
|
||||
export const useWaku = <T extends Waku>(): WakuContextType<T> =>
|
||||
React.useContext(WakuContext) as WakuContextType<T>;
|
||||
|
||||
type ReactChildrenProps = {
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
|
||||
type ProviderProps<T> = ReactChildrenProps & BootstrapNodeOptions<T>;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user