|
|
@@ -1,4 +1,4 @@
|
|
|
-import {Row, Col, DatePicker} from 'antd';
|
|
|
+import {DatePicker} from 'antd';
|
|
|
import classNames from 'classnames';
|
|
|
import {FC} from 'react';
|
|
|
import {Controller, UseControllerProps} from 'react-hook-form';
|
|
|
@@ -13,11 +13,11 @@ type Props = {
|
|
|
|
|
|
const LDModalDate: FC<Props> = function({control, name, label, required}) {
|
|
|
return (
|
|
|
- <Row gutter={12}>
|
|
|
+ <div className="ld-modal-field">
|
|
|
<Label required={required} name={name}>
|
|
|
{label}
|
|
|
</Label>
|
|
|
- <Col span={12}>
|
|
|
+ <div className="ld-modal-field-wrapper">
|
|
|
<Controller
|
|
|
name={name}
|
|
|
control={control}
|
|
|
@@ -41,8 +41,8 @@ const LDModalDate: FC<Props> = function({control, name, label, required}) {
|
|
|
);
|
|
|
}}
|
|
|
/>
|
|
|
- </Col>
|
|
|
- </Row>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
);
|
|
|
};
|
|
|
|