import { buttonStyles } from '@gear-js/ui'; import { Link, LinkProps } from 'react-router-dom'; import { FunctionComponent, SVGProps } from 'react'; import clsx from 'clsx'; import styles from './ActionLink.module.scss'; type Props = LinkProps & { icon: FunctionComponent & { title?: string | undefined }>; text: string; }; const ActionLink = ({ to, icon: Icon, text, state }: Props) => { const linkClasses = clsx( buttonStyles.button, buttonStyles.small, buttonStyles.transparent, buttonStyles.letterSpacing, buttonStyles.noWrap, styles.link, ); return ( {text} ); }; export { ActionLink };