Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const ChangeLog = props => {
const changeLogUrl = `https://github.com/pluralsight/design-system/blob/master/packages/${props.packageName}/CHANGELOG.md`
const label = props.version ? `v${props.version}` : 'CHANGELOG'
return (
<div>
<span>
{label}
<div>
</div>
</span>
<style>{`
.version {
font-size: ${core.type.fontSizeSmall};
}
.text {
display: flex;
align-items: center;
}
.icon {
display: flex;
align-items: center;
margin-left: ${core.layout.spacingXSmall};
}</style></div>