@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.js CHANGED
@@ -3634,7 +3634,8 @@ const BottomNavigation = ({ items, activeItemId, onItemClick, fixed = true, back
3634
3634
  }, className);
3635
3635
  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) => {
3636
3636
  const isActive = activeItemId === item.id || item.isActive;
3637
- const Icon = item.icon;
3637
+ // 활성화 상태에 따라 다른 아이콘 사용
3638
+ const Icon = isActive && item.activeIcon ? item.activeIcon : item.icon;
3638
3639
  return (jsxRuntime.jsx("button", { type: "button", className: clsx('designbase-bottom-navigation__item', {
3639
3640
  'designbase-bottom-navigation__item--active': isActive,
3640
3641
  'designbase-bottom-navigation__item--disabled': item.disabled,