@audira/carbon-react-native
Version:
Build React Native apps with component and shared patterns using Carbon
16 lines (15 loc) • 382 B
JavaScript
;
import { createContext } from 'react';
const error = new Error('Unitialized `<DialogProvider>`. Make sure you wrap your React app with `<DialogProvider>`');
export const DialogContext = /*#__PURE__*/createContext({
show() {
throw error;
},
dismiss() {
throw error;
},
dismissAll() {
throw error;
}
});
//# sourceMappingURL=DialogContext.js.map