diff --git a/libs/shared/lib/components/inputs/index.tsx b/libs/shared/lib/components/inputs/index.tsx index 0bf99b5541b30bdebcc9cca3a0f3e6d3ea0d1f95..57d4600de86dbe51c6dfc419d4c89ec1b319af43 100644 --- a/libs/shared/lib/components/inputs/index.tsx +++ b/libs/shared/lib/components/inputs/index.tsx @@ -1,4 +1,4 @@ -import React, { MouseEventHandler, useEffect, useState } from 'react'; +import React, { useEffect, useState } from 'react'; import styles from './inputs.module.scss'; import { DropdownTrigger, DropdownContainer, DropdownItem, DropdownItemContainer } from '../dropdowns'; import Info from '../info'; @@ -34,7 +34,7 @@ type TextProps = { className?: string; validate?: (value: any) => boolean; onChange?: (value: string) => void; - onClick?: (e: any) => void; + onClick?: (e: React.MouseEvent<HTMLElement>) => void; }; type NumberProps = {