From 048587e209dc3334edf381a4784f6535a4e3431e Mon Sep 17 00:00:00 2001 From: howdyfrom2019 Date: Fri, 5 Jan 2024 12:15:58 +0900 Subject: [PATCH] Fix Ribbon banner --- src/yooldo/components/RibbonBanner.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/yooldo/components/RibbonBanner.tsx b/src/yooldo/components/RibbonBanner.tsx index 7cf932a..84f5e93 100644 --- a/src/yooldo/components/RibbonBanner.tsx +++ b/src/yooldo/components/RibbonBanner.tsx @@ -5,7 +5,8 @@ import { useState } from 'react'; export interface RibbonBannerProps { className?: string; - toggleClassName?: boolean; + toggleClassName?: string; + iconClassName?: string; onOpenHandler?: (open: boolean) => void; hideToggleIcon?: boolean; children?: React.ReactNode; @@ -15,6 +16,7 @@ export interface RibbonBannerProps { export const RibbonBanner: React.FC = ({ className, toggleClassName, + iconClassName, onOpenHandler, hideToggleIcon, children, @@ -25,8 +27,7 @@ export const RibbonBanner: React.FC = ({