Skip to content

Commit d0b0009

Browse files
committed
prevent type conflict of interface properties
1 parent f991f2e commit d0b0009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Table/TableExpandRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { TableCell } from "./index";
1111
// workaround to get type/interface
1212
type CarbonTableExpandRowProps = React.ComponentProps<typeof CarbonTableExpandRow>;
1313
export interface TableExpandRowProps
14-
extends Omit<CarbonTableExpandRowProps, "ref" | "ariaLabel" | "expandIconDescription" | "aria-label">,
14+
extends Omit<CarbonTableExpandRowProps, "children" | "ref" | "ariaLabel" | "expandIconDescription" | "aria-label">,
1515
React.HTMLAttributes<HTMLTableRowElement> {
1616
/**
1717
* This text is displayed as tooltip for the button that toggles the expanded/collapsed state.

0 commit comments

Comments
 (0)