Skip to content

Commit

Permalink
fix(TabelCell): update first row to be button (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegesse-w authored Aug 19, 2022
1 parent e20bca5 commit 2cf02f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion giraffe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@influxdata/giraffe",
"version": "2.33.5",
"version": "2.33.6",
"main": "dist/index.js",
"module": "dist/index.js",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions giraffe/src/components/TableCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export const TableCell: FunctionComponent<Props> = (props: Props) => {

if (rowIndex === 0) {
return (
<div
<button
style={getStyle(props)}
className={getClassName(props)}
onClick={handleClick}
Expand All @@ -335,7 +335,7 @@ export const TableCell: FunctionComponent<Props> = (props: Props) => {
title={getContents(props)}
>
{getContents(props)}
</div>
</button>
)
}
return (
Expand Down
2 changes: 1 addition & 1 deletion stories/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@influxdata/giraffe-stories",
"version": "2.33.5",
"version": "2.33.6",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit 2cf02f2

Please sign in to comment.