1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/app-desktop/gui/NotyfContext.tsx

12 lines
263 B
TypeScript
Raw Normal View History

// 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,
}),
);