diff --git a/packages/react/src/components/Clickable/index.tsx b/packages/react/src/components/Clickable/index.tsx index c918d8882..7013398cc 100644 --- a/packages/react/src/components/Clickable/index.tsx +++ b/packages/react/src/components/Clickable/index.tsx @@ -24,3 +24,9 @@ const Clickable = forwardRef(function Clickable( p: ClickableProps ) => JSX.Element export default Clickable + +/** + * @deprecated + * remained for v3 compatibility and will be removed in the future + */ +export type ClickableElement = HTMLButtonElement & HTMLAnchorElement diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 630885c27..2fe019bf2 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -8,6 +8,7 @@ export { default as Button, type ButtonProps } from './components/Button' export { default as Clickable, type ClickableProps, + type ClickableElement, } from './components/Clickable' export { default as IconButton,