@designbasekorea/ui 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -3633,7 +3633,8 @@
3633
3633
  }, className);
3634
3634
  return (jsxRuntime.jsx("nav", { className: classes, style: style, role: "navigation", "aria-label": "\uD558\uB2E8 \uB124\uBE44\uAC8C\uC774\uC158", children: jsxRuntime.jsx("div", { className: "designbase-bottom-navigation__container", children: items.map((item) => {
3635
3635
  const isActive = activeItemId === item.id || item.isActive;
3636
- const Icon = item.icon;
3636
+ // 활성화 상태에 따라 다른 아이콘 사용
3637
+ const Icon = isActive && item.activeIcon ? item.activeIcon : item.icon;
3637
3638
  return (jsxRuntime.jsx("button", { type: "button", className: clsx('designbase-bottom-navigation__item', {
3638
3639
  'designbase-bottom-navigation__item--active': isActive,
3639
3640
  'designbase-bottom-navigation__item--disabled': item.disabled,