react-bits icon indicating copy to clipboard operation
react-bits copied to clipboard

fix: update useElementWidth to support strict types (fixes #230)

Open mitran06 opened this issue 6 months ago • 1 comments

fixed issue #230 by updating the useElementWidth hook to use a generic type, resolving the ESLint strict type error.

mitran06 avatar Jun 07 '25 14:06 mitran06

Fixes should be applied to both TS files of the component. (CSS & Tailwind files)

DavidHDev avatar Jun 07 '25 14:06 DavidHDev