Ask Your Question
4

What is the method to eliminate the default table border in Mantine?

asked 2022-11-02 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-10-06 16:00:00 +0000

nofretete gravatar image

To eliminate the default table border in Mantine, the "bordered" prop must be set to "false" when rendering the table component. Here is an example code snippet that demonstrates this:

import { Table } from '@mantine/core';

function ExampleComponent() {
  return (
    <Table bordered={false}>
      {/* table contents go here */}
    </Table>
  );
}

By setting "bordered={false}", the table will not have a default border.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-11-02 11:00:00 +0000

Seen: 13 times

Last updated: Oct 06 '21