@momentum-ui/react
Version:
Cisco Momentum UI framework for ReactJs applications
34 lines (26 loc) • 615 B
JavaScript
/** @component alert-call */
import React from 'react';
import PropTypes from 'prop-types';
const AlertCallContainer = props => {
const {
children,
...otherProps
} = props;
return (
<div
className='md-alert__container md-alert__container--call'
{...otherProps}
>
{children}
</div>
);
};
AlertCallContainer.defaultProps = {
children: null
};
AlertCallContainer.propTypes = {
/** @prop Children Nodes to Render inside container | null */
children: PropTypes.node,
};
AlertCallContainer.displayName = 'AlertCallContainer';
export default AlertCallContainer;