mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
22 lines
497 B
TypeScript
22 lines
497 B
TypeScript
import * as React from "react";
|
|
import * as SplitPane from "react-split-pane";
|
|
|
|
class SplitPaneTest extends React.Component<React.Props<{}>> {
|
|
|
|
render() {
|
|
return (
|
|
<SplitPane
|
|
allowResize={true}
|
|
className="pane"
|
|
defaultSize={30}
|
|
maxSize={50}
|
|
minSize={20}
|
|
split="vertical"
|
|
>
|
|
<div />
|
|
<div />
|
|
</SplitPane>
|
|
);
|
|
}
|
|
}
|