nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.54k stars 180 forks source link

solito/navigation has no exported member useLink #411

Closed Desttro closed 1 year ago

Desttro commented 1 year ago

Hi, I don't know if this is a bug or by design, I'm using the latest version 4.0.0 and according to the documentation it should be possible to import useLink from solito/navigation

import { useLink } from 'solito/link'

# or, for App Directory:
import { useLink } from 'solito/navigation'

But it looks like the export is missing:

Module '"solito/navigation"' has no exported member 'useLink'.ts(2305)

Is this a mistake or an intention?

nandorojo commented 1 year ago

looks like a bug, should have an easy fix