Skip to content

Commit b6269eb

Browse files
GijsWeteringsfacebook-github-bot
authored andcommitted
default the RNTTestDetails to collapsed by default
Summary: tsia. Done to allow for easier interaction of the examples, especially those with long descriptions Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D57278607 fbshipit-source-id: f0a1d06c97c019fe177c8b9e51c3ca0ae12caef5
1 parent 3c5a6b3 commit b6269eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rn-tester/js/components/RNTTestDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function RNTTestDetails({
2323
title: string,
2424
theme: RNTesterTheme,
2525
}): React.Node {
26-
const [collapsed, setCollapsed] = React.useState(false);
26+
const [collapsed, setCollapsed] = React.useState(true);
2727

2828
const content = (
2929
<>

0 commit comments

Comments
 (0)