diff --git a/docs/react/api/link.md b/docs/react/api/link.md index 0d926eb..f20323b 100644 --- a/docs/react/api/link.md +++ b/docs/react/api/link.md @@ -45,3 +45,18 @@ export function Example() { ); } ``` + +Prevent navigation: + +```tsx +import { Link } from 'atomic-router-react'; + +export function Example() { + return ( + event.preventDefault()} + /> + ); +} +```