All files section.tsx

100% Statements 7/7
100% Branches 0/0
100% Functions 1/1
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 1319x 19x   19x 2x   2x            
import * as classNames from 'classnames';
import * as React from 'react';
 
export const Section: React.SFC<React.HTMLProps<HTMLDivElement>> = (props) => {
  const { children, className, ...remainingProps } = props;
 
  return (
    <section {...remainingProps} className={classNames(['section', className])}>
      {children}
    </section>
  );
};