Skip to content

Commit 8e31b8c

Browse files
committed
use React.Fragment
1 parent d7d1fee commit 8e31b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ export type TabProps = {
7373
};
7474

7575
export const Tab: React.FC<TabProps> = (props) => {
76-
return <View>{props.children}</View>;
76+
return <React.Fragment>{props.children}</React.Fragment>;
7777
};

0 commit comments

Comments
 (0)