All files / px-layout index.js

0% Statements 0/1
0% Branches 0/1
0% Functions 0/1
0% Lines 0/1
1 2 3 4 5 6 7 8 9 10 11 12 13 14                           
import React from 'react';
import style from './style.scss';
 
/**
 * px-layout component
 */
export default ({label = 'Button', children}) => (
  <div className='px-layout'>
    <h4>{label}</h4>
    <div>{children}</div>
    <style jsx global>{style}</style>
  </div>
);