Restructuring folders [ Broken ]

This commit is contained in:
YourWishes committed 2018-10-22 17:21:29 +11:00
1 parent 36b7b8629e
commit 776395520d
148 files changed
+238 -198

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import React from 'react';
export default (props) => {
let height = 100;/* Percentage of width */
//TODO: Add more methods of resizing this box.
if(props.ratioWidth && props.ratioHeight) {
height = 100 / props.ratioWidth * props.ratioHeight;
}
//Box Sizer
return (
<div className="o-box-sizer" style={{
paddingBottom: height + '%'
}} />
);
};