mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-12-16 04:23:36 +01:00
Move contexts in a context folder
This commit is contained in:
5
src/context/alertContext/AlertContext.md
Normal file
5
src/context/alertContext/AlertContext.md
Normal file
@@ -0,0 +1,5 @@
|
||||
It provides alert context to children. `AlertContext` allows using `useAlert` in
|
||||
components.
|
||||
|
||||
Notice that `<div id="alert-container"/>` should be presented in HTML doc to get
|
||||
it work (In reForis it's already done with base Jinja2 templates).
|
||||
Reference in New Issue
Block a user