import React from 'react';
import EmptyWrap from './EmptyWrap';

const Empty: React.FC<{
  background: string;
  children: React.ReactNode;
  cssStyle?: string;
}> = ({ background, children, cssStyle }) => {
  return (
    <EmptyWrap background={background} cssStyle={cssStyle}>
      <div className="emptyContainer">{children}</div>
    </EmptyWrap>
  );
};

export default Empty;
