We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8737a75 commit 4363383Copy full SHA for 4363383
packages/smarthr-ui/src/components/TextLink/TextLink.tsx
@@ -3,7 +3,7 @@ import { tv } from 'tailwind-variants'
3
4
import { FaExternalLinkAltIcon } from '../Icon'
5
6
-type ElementProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Props>
+type ElementProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Props | 'color'>
7
type Props = {
8
/** リンクをクリックした時に発火するコールバック関数 */
9
onClick?: (e: React.MouseEvent) => void
0 commit comments