Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function PageHeadingLayout(props) {
return (
<div>
<div>
{props.heading}
{Array.isArray(props.actions) && props.actions.length > 0 && (
<div>{props.actions}</div>
)}
</div>
{props.children}
</div>
)
}
PageHeadingLayout.displayName = 'PageHeadingLayout'