We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71bcdfc commit 09deb18Copy full SHA for 09deb18
src/components/FormFilter/index.tsx
@@ -1,6 +1,5 @@
1
import { memo, useRef } from "react";
2
-import { Button, FormInstance } from "antd";
3
-import classNames from "classnames";
+import { Button, Card, FormInstance } from "antd";
4
5
import FormList, { FormListProps } from "../FormList";
6
@@ -34,7 +33,7 @@ const FormFilter = (props: FormFilterProps) => {
34
33
);
35
36
return (
37
- <div className={classNames("box-border rounded-md bg-white p-6", className)}>
+ <Card classNames={{ body: className }}>
38
<FormList
39
colon={false}
40
layout="inline"
@@ -45,7 +44,7 @@ const FormFilter = (props: FormFilterProps) => {
45
44
onForm={getForm}
46
{...resetProps}
47
/>
48
- </div>
+ </Card>
49
50
};
51
0 commit comments