diff --git a/packages/appbar/src/Toolbar/Context/ContextToolbar.tsx b/packages/appbar/src/Toolbar/Context/ContextToolbar.tsx index 2725193b..75dfec93 100644 --- a/packages/appbar/src/Toolbar/Context/ContextToolbar.tsx +++ b/packages/appbar/src/Toolbar/Context/ContextToolbar.tsx @@ -8,7 +8,7 @@ import { LogoLinkEx } from './LogoLinkEx.tsx' export interface ContextToolbarProps extends ToolbarProps { logo?: React.ReactNode logoTo?: To - version?: boolean + version?: boolean | string } export const ContextToolbar: React.FC = ({ diff --git a/packages/appbar/src/Toolbar/Context/LogoLinkEx.tsx b/packages/appbar/src/Toolbar/Context/LogoLinkEx.tsx index a256442e..b432759a 100644 --- a/packages/appbar/src/Toolbar/Context/LogoLinkEx.tsx +++ b/packages/appbar/src/Toolbar/Context/LogoLinkEx.tsx @@ -41,7 +41,7 @@ export const LogoLinkEx: React.FC = ({ variant="caption" border={`1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid`} > - {typeof version === 'string' ? version : '2.1'} + {typeof version === 'string' ? version : '1.0'} ) : null}