components.snippets.Alerts.AlertWrapper.jsx Maven / Gradle / Ivy
The newest version!
import React from 'react'
import classNames from 'classnames'
import PropTypes from 'prop-types'
export function AlertWrapper({
children,
className,
severity,
animate,
stacktrace,
href,
style,
animationDirection,
}) {
return (
)
}
AlertWrapper.propTypes = {
children: PropTypes.node,
className: PropTypes.string,
severity: PropTypes.string,
animate: PropTypes.bool,
stacktrace: PropTypes.bool,
href: PropTypes.string,
style: PropTypes.object,
animationDirection: PropTypes.oneOf(['default', 'reversed']),
}
AlertWrapper.defaultProps = {
animationDirection: 'default',
}