Skip to content

Commit 5cf062e

Browse files
authored
Merge pull request #321 from GeekyAnts/fix/docs-kanban
fix: expo snack error in docs pseudo props focus
2 parents a6735a0 + 950b83d commit 5cf062e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/3.4.x/pseudo-props.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Using `_focus` pseudo prop, we can customize the style of Pressable component on
7777

7878
```jsx title="Focus example" isLive=true
7979
import React from "react";
80-
import { Box, Pressable, Text } from "native-base";
80+
import { Box, Pressable, Text, useDisclose } from "native-base";
8181
export function Example() {
8282
const { isOpen, onOpen, onClose } = useDisclose();
8383
return (
@@ -162,4 +162,3 @@ export function Example() {
162162
);
163163
}
164164
```
165-

docs/next/pseudo-props.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Using `_focus` pseudo prop, we can customize the style of Pressable component on
7777

7878
```jsx title="Focus example" isLive=true
7979
import React from "react";
80-
import { Box, Pressable, Text } from "native-base";
80+
import { Box, Pressable, Text, useDisclose } from "native-base";
8181
export function Example() {
8282
const { isOpen, onOpen, onClose } = useDisclose();
8383
return (
@@ -162,4 +162,3 @@ export function Example() {
162162
);
163163
}
164164
```
165-

0 commit comments

Comments
 (0)