mirror of
				https://gitlab.nic.cz/turris/reforis/foris-js.git
				synced 2025-11-03 23:00:31 +01:00 
			
		
		
		
	Add warning about using <ForisForm /> component in plugins.
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user