You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
444 B
11 lines
444 B
import { jsx as _jsx } from "react/jsx-runtime"; |
|
import React, { useState } from 'react'; |
|
export const ConfirmContext = React.createContext(null); |
|
const ConfirmContextProvider = ({ children, }) => { |
|
const [resolve, setResolve] = useState(false); |
|
return (_jsx(ConfirmContext.Provider, Object.assign({ value: { |
|
resolve, |
|
setResolve, |
|
} }, { children: children }))); |
|
}; |
|
export default ConfirmContextProvider;
|
|
|