2020-02-20 17:35:14 +08:00
|
|
|
import { Controller as InputControl } from 'react-hook-form';
|
2019-10-22 23:36:07 +08:00
|
|
|
import { getFormStyles } from './getFormStyles';
|
|
|
|
|
import { Label } from './Label';
|
2019-11-19 17:42:59 +08:00
|
|
|
import { Input } from './Input/Input';
|
2020-02-09 21:34:42 +08:00
|
|
|
import { ButtonSelect } from './Select/ButtonSelect';
|
2020-02-20 15:01:14 +08:00
|
|
|
import { RadioButtonGroup } from './RadioButtonGroup/RadioButtonGroup';
|
2020-02-13 18:13:03 +08:00
|
|
|
import { AsyncSelect, Select } from './Select/Select';
|
2019-12-20 22:31:58 +08:00
|
|
|
import { Form } from './Form';
|
|
|
|
|
import { Field } from './Field';
|
2020-02-20 15:01:14 +08:00
|
|
|
import { Switch } from './Switch';
|
2020-02-20 17:35:14 +08:00
|
|
|
import { TextArea } from './TextArea/TextArea';
|
2020-03-16 22:33:18 +08:00
|
|
|
import { Checkbox } from './Checkbox';
|
2020-03-26 18:50:27 +08:00
|
|
|
//Will be removed after Enterprise changes have been merged
|
|
|
|
|
import { Button, LinkButton } from '../Button';
|
2019-10-22 23:36:07 +08:00
|
|
|
|
|
|
|
|
const Forms = {
|
2020-02-20 15:01:14 +08:00
|
|
|
RadioButtonGroup,
|
2020-03-26 18:50:27 +08:00
|
|
|
Button,
|
|
|
|
|
LinkButton,
|
2020-02-20 15:01:14 +08:00
|
|
|
Switch,
|
2019-10-22 23:36:07 +08:00
|
|
|
getFormStyles,
|
2019-12-20 22:31:58 +08:00
|
|
|
Label,
|
|
|
|
|
Input,
|
|
|
|
|
Form,
|
|
|
|
|
Field,
|
2020-01-07 16:20:06 +08:00
|
|
|
Select,
|
2020-02-09 21:34:42 +08:00
|
|
|
ButtonSelect,
|
2020-01-22 22:26:03 +08:00
|
|
|
InputControl,
|
2020-02-13 18:13:03 +08:00
|
|
|
AsyncSelect,
|
2020-02-20 17:35:14 +08:00
|
|
|
TextArea,
|
2020-03-16 22:33:18 +08:00
|
|
|
Checkbox,
|
2019-10-22 23:36:07 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Forms;
|