UNPKG

koval-ui

Version:

React components collection with minimalistic design. Supports theming, layout, and input validation.

1 lines 858 B
{"version":3,"file":"NotificationProvider.cjs","sources":["../../../../src/lib/Notification/NotificationProvider.ts"],"sourcesContent":["import {createStoreProvider} from '@/internal/store/createStoreProvider.tsx';\n\nimport type {NotificationState, NotificationAction} from './NotificationReducer.ts';\nimport {initialState, NotificationReducer} from './NotificationReducer.ts';\nimport {NotificationContext} from './NotificationContext.ts';\n\nexport const NotificationProvider = createStoreProvider<NotificationState, NotificationAction>({\n context: NotificationContext,\n reducer: NotificationReducer,\n initialState,\n});\n"],"names":["NotificationProvider","createStoreProvider","NotificationContext","NotificationReducer","initialState"],"mappings":"2OAMaA,EAAuBC,EAAAA,oBAA2D,CAC3F,QAASC,EAAA,oBACT,QAASC,EAAA,oBACTC,aAAAA,EAAAA,YACJ,CAAC"}