import React, { memo } from 'react';
import { TNoticeBarConfig } from './schema';
import { NoticeBar as Component } from 'lwj-mobile-ui';
import withLogo from 'editorUtils/withLogo';
import _ from 'lodash';



const NoticeBar: React.FC<TNoticeBarConfig> = memo((props) => {
  const data = _.pick(props,["theme", "text"])
  return <Component {...data} />;
});

export default withLogo(
  NoticeBar,
  'https://static.liweijia.com/site-php/upload/commodity-goods/b00b31df9c9e2f4bb3cc671097ade54e.jpg',
);
