import {FC} from 'react';
import {context, contextState, pageContext, searchContext} from './context';
import {PageProvider, SearchProvider, TableSearchProvider} from '@components';
import Filter from './filter';
import TableList from './table';

const RawMaterialInStream: FC = function () {
  return (
    <TableSearchProvider context={context} state={contextState}>
      <PageProvider context={pageContext}>
        <SearchProvider context={searchContext}>
          <section className='content-main'>
            <Filter />
            <TableList />
          </section>
        </SearchProvider>
      </PageProvider>
    </TableSearchProvider>
  );
};

export default RawMaterialInStream;
