Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (hideTitle) {
headerClassNames.push(getClassName('bpk-drawer__heading--visually-hidden'));
}
if (contentClassName) {
contentClassNames.push(contentClassName);
}
const headingId = `bpk-drawer-heading-${id}`;
return (
{status => (