Add defaultIsVisible to walkthrough docs

This commit is contained in:
Rick Hanlon II 2016-03-11 12:48:46 -05:00
parent a4414a92cf
commit 7f3cdf3b48

View File

@ -45,8 +45,10 @@ const DevTools = createDevTools(
// Monitors are individually adjustable with props. // Monitors are individually adjustable with props.
// Consult their repositories to learn about those props. // Consult their repositories to learn about those props.
// Here, we put LogMonitor inside a DockMonitor. // Here, we put LogMonitor inside a DockMonitor.
// Note: DockMonitor is visible by default.
<DockMonitor toggleVisibilityKey='ctrl-h' <DockMonitor toggleVisibilityKey='ctrl-h'
changePositionKey='ctrl-q'> changePositionKey='ctrl-q'
defaultIsVisible={true}>
<LogMonitor theme='tomorrow' /> <LogMonitor theme='tomorrow' />
</DockMonitor> </DockMonitor>
); );