import { useConfig } from '../../hooks' ; import Logo , { LogoProps } from './Logo' ; const MainLogo = ( props ) => { const { APP_NAME } = useConfig ( ) ; return < Logo appName = { APP_NAME } { ... props } />; } ; export default MainLogo ;