mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
492 B
TypeScript
18 lines
492 B
TypeScript
import * as React from "react";
|
|
import SplitterLayout, { SplitterLayoutProps } from "react-splitter-layout";
|
|
|
|
export class SplitterLayoutTest extends React.PureComponent {
|
|
render(): JSX.Element {
|
|
const props: SplitterLayoutProps = {
|
|
percentage: true,
|
|
secondaryInitialSize: 40,
|
|
};
|
|
return (
|
|
<SplitterLayout {...props}>
|
|
<div>1st</div>
|
|
<div>2nd</div>
|
|
</SplitterLayout>
|
|
);
|
|
}
|
|
}
|