import React from 'react' import Link from '../link' interface Props { href?: string className?: string } const defaultProps = { className: '' } type NativeAttrs = Omit, keyof Props> export type UserLinkProps = Props & NativeAttrs const UserLink = React.forwardRef>( ( { href, className, children, ...props }: React.PropsWithChildren & typeof defaultProps, ref: React.Ref ) => { return (
{children}
) } ) UserLink.defaultProps = defaultProps UserLink.displayName = 'HuiUserLink' export default UserLink