Skip to content

Commit 1d7c8f2

Browse files
authored
fix (eds-core-react): export table row with pascal case (#3889)
1 parent 305fd04 commit 1d7c8f2

File tree

1 file changed

+4
-4
lines changed
  • packages/eds-core-react/src/components/Table

1 file changed

+4
-4
lines changed

packages/eds-core-react/src/components/Table/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import { Body as TableBody, BodyProps } from './Body'
33
import { Cell as TableCell, CellProps } from './Cell'
44
import { Head as TableHead, HeadProps } from './Head'
55
import { Foot as TableFoot, FootProps } from './Foot'
6-
import { Row as tableRow, RowProps } from './Row'
6+
import { Row as TableRow, RowProps } from './Row'
77
import { Caption as TableCaption, CaptionProps } from './Caption'
88

99
type TableCompoundProps = typeof BaseTable & {
1010
Body: typeof TableBody
1111
Cell: typeof TableCell
1212
Head: typeof TableHead
1313
Foot: typeof TableFoot
14-
Row: typeof tableRow
14+
Row: typeof TableRow
1515
Caption: typeof TableCaption
1616
}
1717

@@ -21,7 +21,7 @@ Table.Body = TableBody
2121
Table.Cell = TableCell
2222
Table.Head = TableHead
2323
Table.Foot = TableFoot
24-
Table.Row = tableRow
24+
Table.Row = TableRow
2525
Table.Caption = TableCaption
2626

2727
Table.Body.displayName = 'Table.Body'
@@ -37,7 +37,7 @@ export {
3737
TableCell,
3838
TableHead,
3939
TableFoot,
40-
tableRow,
40+
TableRow,
4141
TableCaption,
4242
}
4343
export type {

0 commit comments

Comments
 (0)