Skip to content

Commit c3333fe

Browse files
committed
Deploying to gh-pages from @ ff9f81b 🚀
1 parent 12ed423 commit c3333fe

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

examples/ExampleLayout.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import ResizableBox from '../lib/ResizableBox';
44
import 'style-loader!css-loader!../css/styles.css';
55
import 'style-loader!css-loader!./example.css';
66

7+
/* global __VERSION__, __GIT_TAG__, __GIT_COMMIT__ */
8+
79
const CustomResizeHandle = React.forwardRef((props, ref) => {
810
const {handleAxis, ...restProps} = props;
911
return (
@@ -64,6 +66,10 @@ export default class ExampleLayout extends React.Component<{}, {width: number, h
6466
render() {
6567
return (
6668
<div>
69+
<p className="version-info">
70+
react-resizable {__GIT_TAG__ || __VERSION__}
71+
{__GIT_COMMIT__ && <span> ({__GIT_COMMIT__})</span>}
72+
</p>
6773

6874
<h3>Statically Positioned Layout</h3>
6975
<div className="layoutRoot">

examples/example.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,11 @@
115115
}
116116
.custom-resize-handle-component {
117117
background-color: red;
118+
}
119+
120+
.version-info {
121+
font-family: monospace;
122+
font-size: 12px;
123+
color: #666;
124+
margin: 10px 20px;
118125
}

0 commit comments

Comments
 (0)