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 / features / Empty / EmptyFeature.js
Size: Mime:
import * as React from 'react';
import { application } from '@skava/state';
import { StyledEmptyContent, StyledEmptyBox, StyledEmptyRight, StyledEmptyLeft } from './styled';
import { renderSuggestionContent, renderContent, renderImageContent, renderActionContent, } from './renderProps';
export class EmptyFeature extends React.PureComponent {
    render() {
        const { children, className } = this.props;
        return (React.createElement(StyledEmptyContent, { className: className },
            React.createElement(StyledEmptyBox, null,
                application.isMobile && renderContent(this.props),
                React.createElement(StyledEmptyLeft, null, renderImageContent(this.props)),
                React.createElement(StyledEmptyRight, null,
                    !application.isMobile && renderContent(this.props),
                    renderSuggestionContent(this.props),
                    renderActionContent(this.props)))));
    }
}
//# sourceMappingURL=EmptyFeature.js.map