mirror of
https://github.com/grafana/grafana.git
synced 2025-09-26 07:14:10 +08:00

* Grafana/ui: Add deprecation notice to the Form component * Fix notice * Deprecate types
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
/**
|
|
* Rollup does not support renamed exports so do not change this to export { Controller as InputControl } ...
|
|
*/
|
|
import { Controller } from 'react-hook-form';
|
|
|
|
/**
|
|
* @deprecated use the `Controller` component from react-hook-form instead
|
|
*/
|
|
export const InputControl = Controller;
|