react-table-library
react-table-library copied to clipboard
How to setup initial Collumm width?
Tried using:
const libTheme = getTheme(DEFAULT_OPTIONS);
const customTheme = useTheme({
Table: `
--data-table-library_grid-template-columns: 50% 50px 50px;
`,
});
const theme = useTheme([libTheme, customTheme]);
<Table data={dados} theme={theme}>
Already tried changing the size values and using only the custom theme. But none worked
Try
<Table
data={dados}
theme={customTheme}
layout={{ custom: true }}
>