yucky-goldY
Refine4y ago
1 reply
yucky-gold

mantine - list - header Button

So I was looking at the source-code for the list-component of the refine-mantine package, looking for ways to move the header button over to the left (default position is all the way to the right (not visible to user since table horizontally overflows)).

Did not see any obvious way to modify, https://github.com/refinedev/refine/blob/next/packages/mantine/src/components/crud/list/index.tsx#L73 .

So I yanked that source and modified that line as a user component, achieving the effect of moving the button all the way over.

I'm guessing that approach is feasible; it's like almost a precursor to going headless...

Other then going headless, is there another approach?
GitHub
Build your React-based CRUD applications, without constraints. - refine/index.tsx at next · refinedev/refine
refine/index.tsx at next · refinedev/refine
Was this page helpful?