Skip to content

Commit 4363383

Browse files
authoredJul 2, 2024··
fix: TextLink に color を指定できないように閉じる (#4752)
1 parent 8737a75 commit 4363383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/smarthr-ui/src/components/TextLink/TextLink.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { tv } from 'tailwind-variants'
33

44
import { FaExternalLinkAltIcon } from '../Icon'
55

6-
type ElementProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Props>
6+
type ElementProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Props | 'color'>
77
type Props = {
88
/** リンクをクリックした時に発火するコールバック関数 */
99
onClick?: (e: React.MouseEvent) => void

0 commit comments

Comments
 (0)
Please sign in to comment.