All files / lib/AlertCallContainer index.js

100% Statements 6/6
100% Branches 0/0
100% Functions 1/1
100% Lines 6/6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26      89x 4x   4x             89x       89x         89x      
import React from 'react';
import PropTypes from 'prop-types';
 
const AlertCallContainer = props => {
  const {alertList} = props;
 
  return (
    <div className='cui-alert__container cui-alert__container--call'>
      {alertList}
    </div>
  );
};
 
AlertCallContainer.defaultProps = {
  alertList: []
};
 
AlertCallContainer.propTypes = {
  /** @prop Array of AlertCall components | [] */
  alertList: PropTypes.arrayOf(PropTypes.node)
};
 
AlertCallContainer.displayName = 'AlertCallContainer';
 
export default AlertCallContainer;