All files / src/list/DotNew DotNew.js

100% Statements 5/5
50% Branches 1/2
100% Functions 2/2
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 13 14 15 16 17 18 19 20 21 22 23 24            1x       1x 1x     1x 1x                
import React, { Component } from 'react';
import { defaultProps } from './props/defaultProps';
import { propTypes } from './props/propTypes';
import style from './DotNew.module.css';
export default class DotNew extends Component {
  constructor(props) {
    super(props);
  }
 
  render() {
    let { className, dataTitle, size } = this.props;
    return <div className={`${style.container} ${style[size]} ${className ? className : ''}`} data-title={dataTitle} />;
  }
}
DotNew.propTypes = propTypes;
DotNew.defaultProps = defaultProps;
 
// if (__DOCS__) {
//   DotNew.docs = {
//     folderName: 'List',
//     componentGroup: 'DotNew'
//   };
// }