Skip to content

Commit

Permalink
docs: Update README.md (#332)
Browse files Browse the repository at this point in the history
rename defaultSizePercentage props
  • Loading branch information
Go7hic authored Apr 15, 2024
1 parent 641e8dc commit 8b049a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-resizable-panels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ React components for resizable panel groups/layouts
import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels";

<PanelGroup autoSaveId="example" direction="horizontal">
<Panel defaultSizePercentage={25}>
<Panel defaultSize={25}>
<SourcesExplorer />
</Panel>
<PanelResizeHandle />
<Panel>
<SourceViewer />
</Panel>
<PanelResizeHandle />
<Panel defaultSizePercentage={25}>
<Panel defaultSize={25}>
<Console />
</Panel>
</PanelGroup>;
Expand Down

0 comments on commit 8b049a6

Please sign in to comment.