Skip to content

Commit 2385cc0

Browse files
committed
fix: correct syntax in JSDoc example for useEmbeddedView hook
1 parent 015f8fa commit 2385cc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/embedded/hooks/useEmbeddedView/useEmbeddedView.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ import { getStyles } from './getStyles';
1111
* @returns The embedded view.
1212
*
1313
* @example
14-
* const { parsedStyles } = useEmbeddedView(IterableEmbeddedViewType.Notification, {
14+
* const \{ parsedStyles \} = useEmbeddedView(IterableEmbeddedViewType.Notification, \{
1515
* message,
1616
* config,
1717
* onButtonClick,
1818
* onMessageClick,
19-
* });
19+
* \});
2020
*
2121
* return (
2222
* <View>
23-
* <Text>{parsedStyles.backgroundColor}</Text>
23+
* <Text>\{parsedStyles.backgroundColor\}</Text>
2424
* </View>
2525
* );
2626
*/

0 commit comments

Comments
 (0)