stackpress
Version:
Incept is a content management framework.
15 lines (14 loc) • 479 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import NotifyContext from './NotifyContext.js';
export default function NotifyProvider(props) {
const { children, config = {
position: 'bottom-center',
autoClose: 5000,
hideProgressBar: false,
closeOnClick: true,
pauseOnHover: true,
draggable: true,
theme: 'dark',
} } = props;
return (_jsx(NotifyContext.Provider, { value: { config }, children: children }));
}