import Stack from '@material-hu/mui/Stack';

import { FilterChips, SearchBar } from '../../components/Filters';

const JourneyFilters = ({ loading = false }: { loading?: boolean }) => {
  return (
    <Stack sx={{ flexDirection: 'row', gap: 2, alignItems: 'center' }}>
      <SearchBar loading={loading} />
      <FilterChips />
    </Stack>
  );
};

export default JourneyFilters;
