1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Detect clicks outside element with a hook

This commit is contained in:
Maciej Lenartowicz
2019-12-16 13:44:58 +01:00
parent 73f84a2d81
commit 90509f2a23
6 changed files with 24 additions and 15 deletions

View File

@ -62,6 +62,7 @@ export {
withEither, withSpinner, withSending, withSpinnerOnSending, withError, withErrorMessage,
} from "utils/conditionalHOCs";
export { ErrorMessage } from "utils/ErrorMessage";
export { useClickOutside } from "utils/hooks";
// Foris URL
export { ForisURLs, REFORIS_URL_PREFIX } from "forisUrls";