grafana/ui: Export TextArea under Forms namespace (#22328)

This commit is contained in:
Alex Khomenko
2020-02-20 11:35:14 +02:00
committed by GitHub
parent 458eccbfc0
commit fa8246aa4c

View File

@@ -1,3 +1,4 @@
import { Controller as InputControl } from 'react-hook-form';
import { getFormStyles } from './getFormStyles'; import { getFormStyles } from './getFormStyles';
import { Label } from './Label'; import { Label } from './Label';
import { Input } from './Input/Input'; import { Input } from './Input/Input';
@@ -8,7 +9,7 @@ import { Form } from './Form';
import { Field } from './Field'; import { Field } from './Field';
import { Button, LinkButton } from './Button'; import { Button, LinkButton } from './Button';
import { Switch } from './Switch'; import { Switch } from './Switch';
import { Controller as InputControl } from 'react-hook-form'; import { TextArea } from './TextArea/TextArea';
const Forms = { const Forms = {
RadioButtonGroup, RadioButtonGroup,
@@ -24,6 +25,7 @@ const Forms = {
ButtonSelect, ButtonSelect,
InputControl, InputControl,
AsyncSelect, AsyncSelect,
TextArea,
}; };
export default Forms; export default Forms;