All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 (
        
{children}
) } 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', }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy