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

Add warning about using <ForisForm /> component in plugins.

This commit is contained in:
Bogdan Bodnar
2020-01-17 12:21:21 +01:00
parent e7e389e843
commit 532acf9d86
2 changed files with 23 additions and 1 deletions

View File

@ -73,7 +73,12 @@ ForisForm.defaultProps = {
disabled: false,
};
/** Serves as HOC for all foris forms components. */
/** Serves as HOC for all foris forms components.
*
* As `<Prompt />` from `react-router-dom` is used in this component then it required to
* use exposed `ReactRouterDOM` object from `react-router-dom` library which is exposed by reForis.
* See README for more information.
* */
export function ForisForm({
ws,
forisConfig,