@kirz/react-native-toolkit
Version:
Toolkit to speed up React Native development
7 lines • 408 B
TypeScript
import React, { PropsWithChildren } from 'react';
export type DropDownContextType = {
showDropdown: (type: 'info' | 'warn' | 'error' | 'success', title?: string, text?: string) => void;
};
export declare const DropDownContext: React.Context<DropDownContextType>;
export declare function DropDownProvider({ children }: PropsWithChildren<object>): JSX.Element;
//# sourceMappingURL=DropDownContext.d.ts.map