diff --git a/docs/docs/api/hooks/input/use-reanimated-focused-input.md b/docs/docs/api/hooks/input/use-reanimated-focused-input.md index 61638d2a1e..ebdc6e0de9 100644 --- a/docs/docs/api/hooks/input/use-reanimated-focused-input.md +++ b/docs/docs/api/hooks/input/use-reanimated-focused-input.md @@ -31,9 +31,10 @@ The `input` property from this hook is returned as `SharedValue`. The returned d ```ts type FocusedInputLayoutChangedEvent = { - target: number; // tag of the focused TextInput + // tag of the focused TextInput + target: number; + // layout of the focused TextInput layout: { - // layout of the focused TextInput x: number; // `x` coordinate inside the parent component y: number; // `y` coordinate inside the parent component width: number; // `width` of the TextInput diff --git a/docs/docs/installation.mdx b/docs/docs/installation.mdx index dee2577f12..99e6f80854 100644 --- a/docs/docs/installation.mdx +++ b/docs/docs/installation.mdx @@ -68,7 +68,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.0.0/installation.md b/docs/versioned_docs/version-1.0.0/installation.md index a3c1e4717c..0754c59ea1 100644 --- a/docs/versioned_docs/version-1.0.0/installation.md +++ b/docs/versioned_docs/version-1.0.0/installation.md @@ -42,7 +42,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.4.0/installation.md b/docs/versioned_docs/version-1.4.0/installation.md index a3c1e4717c..0754c59ea1 100644 --- a/docs/versioned_docs/version-1.4.0/installation.md +++ b/docs/versioned_docs/version-1.4.0/installation.md @@ -42,7 +42,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.5.0/installation.md b/docs/versioned_docs/version-1.5.0/installation.md index 3ddb156128..5a5b892c72 100644 --- a/docs/versioned_docs/version-1.5.0/installation.md +++ b/docs/versioned_docs/version-1.5.0/installation.md @@ -54,7 +54,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.6.0/installation.md b/docs/versioned_docs/version-1.6.0/installation.md index 3ddb156128..5a5b892c72 100644 --- a/docs/versioned_docs/version-1.6.0/installation.md +++ b/docs/versioned_docs/version-1.6.0/installation.md @@ -54,7 +54,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.7.0/installation.md b/docs/versioned_docs/version-1.7.0/installation.md index 3ddb156128..5a5b892c72 100644 --- a/docs/versioned_docs/version-1.7.0/installation.md +++ b/docs/versioned_docs/version-1.7.0/installation.md @@ -54,7 +54,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.8.0/installation.md b/docs/versioned_docs/version-1.8.0/installation.md index 3ddb156128..5a5b892c72 100644 --- a/docs/versioned_docs/version-1.8.0/installation.md +++ b/docs/versioned_docs/version-1.8.0/installation.md @@ -54,7 +54,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ``` diff --git a/docs/versioned_docs/version-1.9.0/api/hooks/input/use-reanimated-focused-input.md b/docs/versioned_docs/version-1.9.0/api/hooks/input/use-reanimated-focused-input.md index 1910f6c15f..3142658012 100644 --- a/docs/versioned_docs/version-1.9.0/api/hooks/input/use-reanimated-focused-input.md +++ b/docs/versioned_docs/version-1.9.0/api/hooks/input/use-reanimated-focused-input.md @@ -30,9 +30,10 @@ The `input` property from this hook is returned as `SharedValue`. The returned d ```ts type FocusedInputLayoutChangedEvent = { - target: number; // tag of the focused TextInput + // tag of the focused TextInput + target: number; + // layout of the focused TextInput layout: { - // layout of the focused TextInput x: number; // `x` coordinate inside the parent component y: number; // `y` coordinate inside the parent component width: number; // `width` of the TextInput diff --git a/docs/versioned_docs/version-1.9.0/installation.mdx b/docs/versioned_docs/version-1.9.0/installation.mdx index dee2577f12..99e6f80854 100644 --- a/docs/versioned_docs/version-1.9.0/installation.mdx +++ b/docs/versioned_docs/version-1.9.0/installation.mdx @@ -68,7 +68,7 @@ If you are bothered why it's needed, you can read more about it in [architecture import { KeyboardProvider } from 'react-native-keyboard-controller'; export default function App() { - return // your code here; + return {/* your code here */}; } ```