Standard ContentBox-es
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
import React from 'react';
|
||||
import ContentBox from './ContentBox';
|
||||
|
||||
export default function(props) {
|
||||
let clazzes = "o-floating-content-box";
|
||||
@ -40,10 +41,10 @@ export default function(props) {
|
||||
if(props.className) clazzes += " " + props.className;
|
||||
|
||||
return (
|
||||
<div className={ clazzes } >
|
||||
<ContentBox {...props} className={ clazzes }>
|
||||
<div className="o-floating-content-box__inner">
|
||||
{ props.children }
|
||||
</div>
|
||||
</div>
|
||||
</ContentBox>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user