Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { icon, xtraClassName } = this.props;
const iconComp = typeof icon === 'string' ? (predefinedIcons[icon] || faExclamation) : icon;
return (
<div>
<div>
<div>
<h4>
<span>
</span>
{this.props.title}
</h4>
<hr>
{this.props.content &&
<div>
{
typeof this.props.content === 'string'
? <p>{this.props.content}</p> : this.props.content
}
</div>
}
{this.props.children &&
<div></div></div></div></div>
render() {
const { name, title, contacts, image } = this.props
return (
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<figure>
<img src="{image}">
</figure>
</div>
<div>
<h1>{name}</h1>
<h3>{title}</h3>
</div>
</div>
<div>
<div>
</div>
</div>
</div>
</div>
</div></div>
</div>
);
{groups.map((group) => {
const { sectionHeader, description, items } = group;
return (<div>
<div>
<div>
<h5>
{sectionHeader}
</h5>
<span> - {description}</span>
</div>
</div>
<hr>
<div>
{items.map((project) => {
const { projectUrl, title, description } = project;
return (
<div>
<h6>
{projectUrl ? <a href="{getFixedUrl(projectUrl)}">{title}</a> : title}
</h6></div></div></div>