Files
Alex Khomenko 41de0b4311 Grafana/ui: Add deprecation notice to the Form component (#81068)
* Grafana/ui: Add deprecation notice to the Form component

* Fix notice

* Deprecate types
2024-01-24 16:13:24 +02:00

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;