expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
10 lines (9 loc) • 306 B
TypeScript
type Options = {
key?: string;
options?: object | undefined;
};
export declare function useOptionsGetters({ key, options }: Options): {
addOptionsGetter: (key: string, getter: () => object | undefined | null) => () => void;
getCurrentOptions: () => object | null | undefined;
};
export {};