Restructuring folders [ Broken ]

This commit is contained in:
2018-10-22 17:21:29 +11:00
parent 36b7b8629e
commit 776395520d
148 changed files with 238 additions and 198 deletions

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 + '%'
}} />
);
};