1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/app-desktop/gui/NotyfContext.tsx
2024-03-02 14:25:27 +00:00

12 lines
263 B
TypeScript

// Based on https://github.com/caroso1222/notyf/blob/master/recipes/react.md
import * as React from 'react';
import { Notyf } from 'notyf';
export default React.createContext(
new Notyf({
// Set your global Notyf configuration here
duration: 6000,
}),
);