Skip to content

Commit 09deb18

Browse files
committed
feat: update FormFilter
1 parent 71bcdfc commit 09deb18

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/FormFilter/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { memo, useRef } from "react";
2-
import { Button, FormInstance } from "antd";
3-
import classNames from "classnames";
2+
import { Button, Card, FormInstance } from "antd";
43

54
import FormList, { FormListProps } from "../FormList";
65

@@ -34,7 +33,7 @@ const FormFilter = (props: FormFilterProps) => {
3433
);
3534

3635
return (
37-
<div className={classNames("box-border rounded-md bg-white p-6", className)}>
36+
<Card classNames={{ body: className }}>
3837
<FormList
3938
colon={false}
4039
layout="inline"
@@ -45,7 +44,7 @@ const FormFilter = (props: FormFilterProps) => {
4544
onForm={getForm}
4645
{...resetProps}
4746
/>
48-
</div>
47+
</Card>
4948
);
5049
};
5150

0 commit comments

Comments
 (0)