Skip to content

Commit d29aeae

Browse files
committed
fix: update typing for click handler for ImageChipCell
1 parent 2f1622c commit d29aeae

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.0.93-beta-2",
3+
"version": "0.0.93-beta-3",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/ImageChipCell/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
import { SyntheticEvent } from 'react'
1718
import { RegistryType } from '../../types'
1819

1920
export interface ImageChipCellProps {
20-
handleClick: () => void
21+
handleClick: (e: SyntheticEvent) => void
2122
imagePath: string
2223
isExpanded: boolean
2324
registryType: RegistryType

0 commit comments

Comments
 (0)