mirror of
https://github.com/dsoaress/link-free.git
synced 2026-12-01 05:44:44 +00:00
feat: add fonts options
This commit is contained in:
9 files changed
+38
-11
No files matched your search
@@ -3,10 +3,10 @@ import { AnchorHTMLAttributes } from 'react'
|
||||
|
||||
import { LinkVariantProps, Wrapper } from './styles'
|
||||
|
||||
export type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
||||
href: string
|
||||
color?: LinkVariantProps['color']
|
||||
}
|
||||
export type LinkProps = AnchorHTMLAttributes<HTMLAnchorElement> &
|
||||
LinkVariantProps & {
|
||||
href: string
|
||||
}
|
||||
|
||||
export function Link({ href, ...rest }: LinkProps) {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user