react-split-pane
Advanced tools
Comparing version 0.1.33 to 0.1.35
@@ -36,3 +36,3 @@ import React from "react"; | ||
const PercentageSplitExample = () => { | ||
const PercentageVerticalExample = () => { | ||
return ( | ||
@@ -46,6 +46,36 @@ <SplitPane defaultSize="50%"> | ||
const PercentageHorizontalExample = () => { | ||
return ( | ||
<SplitPane defaultSize="50%" split="horizontal"> | ||
<div></div> | ||
<div></div> | ||
</SplitPane> | ||
); | ||
}; | ||
const VerticallyNestedInContainerExample = () => { | ||
return ( | ||
<SplitPane defaultSize="40%" split="vertical"> | ||
<div></div> | ||
<div></div> | ||
</SplitPane> | ||
); | ||
}; | ||
const HorizontallyNestedInContainerExample = () => { | ||
return ( | ||
<SplitPane defaultSize="40%" split="horizontal"> | ||
<div></div> | ||
<div></div> | ||
</SplitPane> | ||
); | ||
}; | ||
if (document.getElementById("simple-nested-example")) render(<SimpleNestedExample />, document.getElementById("simple-nested-example")); | ||
if (document.getElementById("basic-vertical-example")) render(<BasicVerticalExample />, document.getElementById("basic-vertical-example")); | ||
if (document.getElementById("basic-horizontal-example")) render(<BasicHorizontalExample />, document.getElementById("basic-horizontal-example")); | ||
if (document.getElementById("percentage-split-example")) render(<PercentageSplitExample />, document.getElementById("percentage-split-example")); | ||
if (document.getElementById("percentage-vertical-example")) render(<PercentageVerticalExample />, document.getElementById("percentage-vertical-example")); | ||
if (document.getElementById("percentage-horizontal-example")) render(<PercentageHorizontalExample />, document.getElementById("percentage-horizontal-example")); | ||
if (document.getElementById("vertically-nested-in-container-example")) render(<VerticallyNestedInContainerExample />, document.getElementById("vertically-nested-in-container-example")); | ||
if (document.getElementById("horizontally-nested-in-container-example")) render(<HorizontallyNestedInContainerExample />, document.getElementById("horizontally-nested-in-container-example")); |
@@ -5,3 +5,3 @@ { | ||
"main": "index.js", | ||
"version": "0.1.33", | ||
"version": "0.1.35", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1861720
31
22592