const SidebarNotification = (props) => {
    const type = props.type ?? 'success';
    const className = "notice notice-" + type;

    return (
        <div className={ className }>{ props.children }</div>
    );
};

export default SidebarNotification;