InputControl: Fixed using InputControl in unit tests from plugins (#27615)

This commit is contained in:
Torkel Ödegaard 2020-09-16 13:29:59 +02:00 committed by GitHub
parent b58864792d
commit 2ed9124736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1 +1,5 @@
export { Controller as InputControl } from 'react-hook-form';
/**
* Rollup does not support renamed exports so do not change this to export { Controller as InputControl } ...
*/
import { Controller } from 'react-hook-form';
export const InputControl = Controller;