Skip to content

Commit 1ba4caa

Browse files
committed
chore(Table): update to 5.0.0
1 parent ef6a520 commit 1ba4caa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Table/Table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const Table = React.forwardRef<HTMLTableElement, TableProps>(
2727
className,
2828
clsx({
2929
'table-zebra': zebra,
30+
'table-xl': size === 'xl',
3031
'table-lg': size === 'lg',
3132
'table-md': size === 'md',
3233
'table-sm': size === 'sm',

src/Table/TableRow.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ export type TableRowProps = React.TableHTMLAttributes<HTMLTableRowElement> &
88
IComponentBaseProps & {
99
children?: ReactElement[]
1010
active?: boolean
11-
hover?: boolean
1211
noCell?: boolean // don't wrap children in th/td, should pass children as th/tds manually
1312
}
1413

1514
const TableRow = React.forwardRef<HTMLTableRowElement, TableRowProps>(
1615
(
17-
{ children, active, hover, noCell = false, className, ...props },
16+
{ children, active, noCell = false, className, ...props },
1817
ref
1918
): JSX.Element => {
2019
const classes = twMerge(
2120
className,
2221
clsx({
2322
active: active,
24-
hover: hover,
2523
})
2624
)
2725

0 commit comments

Comments
 (0)