diff --git a/packages/spindle-ui/src/SnackBar/SnackBar.tsx b/packages/spindle-ui/src/SnackBar/SnackBar.tsx index 21e9c077d..456a70ddb 100644 --- a/packages/spindle-ui/src/SnackBar/SnackBar.tsx +++ b/packages/spindle-ui/src/SnackBar/SnackBar.tsx @@ -4,6 +4,7 @@ import React, { Dispatch, FC, HTMLAttributes, + AnchorHTMLAttributes, MouseEventHandler, ReactNode, SetStateAction, @@ -182,7 +183,10 @@ const TextButton: FC< ); }; const TextLink: FC< - { icon?: ReactNode; children: ReactNode } & HTMLAttributes + { + icon?: ReactNode; + children: ReactNode; + } & AnchorHTMLAttributes > = ({ icon, children, onClick, ...rest }) => { const [props, internalProps] = useMemo( () => convertInternalChildProps(rest),