diff --git a/README.md b/README.md
index 3709587..fec1094 100644
--- a/README.md
+++ b/README.md
@@ -237,19 +237,24 @@ If you pass a functional `Component` to the `FooterComponent` prop, it may cause
Alaternatively, you can wrap the component using the [`useCallback`](https://react.dev/reference/react/useCallback) hook.
-Example:
```ts
// Bad ❌
}>
// ...
+```
+```ts
// Good ✅
const MyFooter = useCallback(() => , [])
-
- // ...
-
+return (
+
+ // ...
+
+)
+```
+```ts
// Better ✅
}>
// ...