Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / ui / Logo / HeaderLogo.js
Size: Mime:
import React from 'react';
import { JsonLd } from '@skava/packages/ui';
import { headerLogoSchema } from '@skava/packages/core/schemas';
import { LogoIcon } from './LogoIcon';
import { StyledLink } from './styled';
import { logoProps } from './fixture';
export default class HeaderLogo extends React.PureComponent {
    get schemaData() {
        return headerLogoSchema();
    }
    render() {
        const { className } = this.props;
        // @todo why does the className go to the wrap & why do we have a link + wrap?
        return (React.createElement(StyledLink, { className: className },
            React.createElement(LogoIcon, Object.assign({}, logoProps, { fill: '#2d2d2c', id: 'header-logo' })),
            React.createElement(JsonLd, { data: this.schemaData })));
    }
}
//# sourceMappingURL=HeaderLogo.js.map