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

plugins.Header.SimpleHeader.Logo.jsx Maven / Gradle / Ivy

The newest version!
import React from 'react'
import PropTypes from 'prop-types'
import classNames from 'classnames'
import { NavbarBrand } from 'reactstrap'

import { needRender } from '../../SideBar/utils'

import { NavbarBrandContent } from './NavbarBrandContent'

export function Logo({ title, subtitle, className, style, href, src, showContent, isMiniView }) {
    return (
        
{src && ( )} {needRender(title) && ( {title} )} {needRender(subtitle) && ( {subtitle} )}
) } Logo.propTypes = { title: PropTypes.string, subtitle: PropTypes.string, className: PropTypes.string, style: PropTypes.object, href: PropTypes.string, src: PropTypes.string, showContent: PropTypes.bool, isMiniView: PropTypes.bool, } Logo.defaultProps = { href: '/', showContent: true, }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy