import React from 'react';
import Container from 'react-bootstrap/Container';
import Col from 'react-bootstrap/Col';
import Row from 'react-bootstrap/Row';
import JobCard, { JobCardPlaceholder } from './JobCard';
import { JobListProps } from './types';
export type Props = {
heading: string,
} & JobListProps
const defaultProps = {
entriesPerRow: 2,
currentHeading: 'Currently',
}
export function JobsCardsPlaceholder() {
return
}
export default function JobsCards(props: JobListProps) {
const {jobs} = props
const config = {...defaultProps, ...props}
return (
{jobs.current && (
{jobs.current.map((job, index) => (
))}
)}
{jobs.previous?.map((job, index) => (
))}
)
}