Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const Comp = props => (
<div>
<div>
<h3>{props.title}</h3>
<div>
<span>{props.desc}</span>
<span>
Docs
</span>
</div>
</div>
<div>{props.children}</div>
<style>{`
.comp {
padding-bottom: ${core.layout.spacingLarge};
border-bottom: 1px solid ${core.colors.gray02};
margin-bottom: ${core.layout.spacingXLarge};
}
.label {
margin-bottom: ${core.layout.spacingLarge};
}
.desc {
display: inline-block;
margin-right: ${core.layout.spacingXSmall};</style></div>