From 68b29ecb50b7a8e64eb82ed45762b1989d3de467 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:01:51 +0700 Subject: [PATCH] Fix not applying class names to local co-op icon --- src/utils/bx-exposed.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/bx-exposed.ts b/src/utils/bx-exposed.ts index 0fbd8c3..5834c88 100755 --- a/src/utils/bx-exposed.ts +++ b/src/utils/bx-exposed.ts @@ -235,13 +235,13 @@ export const BxExposed = { localCoOpManager: LocalCoOpManager.getInstance(), reactCreateElement: function(...args: any[]) {}, - createReactLocalCoOpIcon: isFullVersion() ? (): any => { + createReactLocalCoOpIcon: isFullVersion() ? (attrs: any): any => { const reactCE = window.BX_EXPOSED.reactCreateElement; // local-co-op.svg return reactCE( 'svg', - { xmlns: 'http://www.w3.org/2000/svg', width: '1em', height: '1em', viewBox: '0 0 32 32', 'fill-rule': 'evenodd', 'stroke-linecap': 'round', 'stroke-linejoin': 'round' }, + { xmlns: 'http://www.w3.org/2000/svg', width: '1em', height: '1em', viewBox: '0 0 32 32', 'fill-rule': 'evenodd', 'stroke-linecap': 'round', 'stroke-linejoin': 'round', ...attrs }, reactCE( 'g', null,