Minor Changes
-
#4272
420d2442741
Thanks @salihozdemir! - feat: added thefixed
prop to the<ThemedSiderV2/>
to allow the sider to be fixedThe prop is optional and defaults to
false
. You can see the usage as follows:import { Refine } from "@refinedev/core"; import { ThemedLayoutV2, ThemedSiderV2 } from "@refinedev/antd"; const App: React.FC = () => { return ( <Refine ... > <ThemedLayoutV2 Sider={() => <ThemedSiderV2 fixed />}> {/* ... */} </ThemedLayoutV2> </Refine> ); };
-
#4278
b14f2ad8a70
Thanks @alicanerdurmaz! - feat: addedautoSubmitClose
prop touseEditableTable
.
Now you can choose whether to close the table's row after submitting the form or not.const editableTable = useEditableTable({ autoSubmitClose: false, });
Patch Changes
-
#4267
5e128c76c16
Thanks @yildirayunlu! - fix:onFinish
prop override onuseDrawerForm
anduseModalForm
hookWhen override
onFinish
prop using theuseDrawerForm
anduseModalForm
hooks, the modal not close after submit the form. -
#4277
7172c1b42d2
Thanks @salihozdemir! - fix: renamed the<ThemedHeaderV2/>
propisSticky
tosticky
To provide backwards compatibility, the old prop name is still supported, but it is deprecated and will be removed in the next major version.
Example:
import { Refine } from "@refinedev/core"; import { ThemedLayoutV2, ThemedHeaderV2 } from "@refinedev/antd"; // or @refinedev/chakra-ui, @refinedev/mui, @refinedev/mantine const App: React.FC = () => { return ( <Refine ... > <ThemedLayoutV2 Header={() => <ThemedHeaderV2 sticky />} > {/* ... */} </ThemedLayoutV2> </Refine> ); };