import React, { memo } from 'react';
import logo from 'editorAssets/hiHouse/类目导航-120x120.png';
import withLogo from 'editorUtils/withLogo';
import { TCategoryNavigationConfig } from './schema';
import { CategoryNavigation as Component} from 'lwj-mobile-ui';

type TProps = TCategoryNavigationConfig & React.ComponentProps<typeof Component>

const CategoryNavigation: React.FC<TProps> = memo((props) => {
  return <Component enableScanQRcode={props?.enableScanQRcode ?? true}/>;
});

export default withLogo(CategoryNavigation, logo);
