import React from 'react'
import AutoKartya from './AutoKartya'

const AutoLista = ({autok, torles}) => {
  return (
    <div className='row mt-5'>
      {autok.map(auto => <AutoKartya key={auto.id} auto={auto} torles={torles} />)}
    </div>
  )
}

export default AutoLista