Skip to content

Commit bb6c651

Browse files
committed
fix: Updated code to support isPlain for table.
1 parent 94bfbd7 commit bb6c651

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-table/src/components/Table/Table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const TableBase: React.FunctionComponent<TableProps> = ({
9696
variant,
9797
borders = true,
9898
isStickyHeader = false,
99+
isPlain = false,
99100
gridBreakPoint = TableGridBreakpoint.gridMd,
100101
'aria-label': ariaLabel,
101102
role = 'grid',

packages/react-table/src/components/Table/examples/TablePlain.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const TablePlain: React.FunctionComponent = () => {
2525
};
2626

2727
return (
28-
<Table aria-label="Plain table" isPlain>
28+
<Table aria-label="Plain table" isPlain={true}>
2929
<Caption>Simple table with plain styling using composable components</Caption>
3030
<Thead>
3131
<Tr>

0 commit comments

Comments
 (0)