Merge pull request #260 from rickhanlonii/patch-1

Add defaultIsVisible to walkthrough docs
This commit is contained in:
Dan Abramov 2016-04-02 18:10:38 +01:00
commit f953c6a385

View File

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