import styles from './styles.module.css'
import PropTypes from 'prop-types';

const Seat = ({ id,status, ...rest }) => {
    console.log(status, "status")
    return (
        <div {...rest} className={` ${styles[status]} ${styles.seat} `}></div>
    )
}

Seat.propTypes = {
    onClick: PropTypes.func.isRequired,
    // status: PropTypes.oneOf(['available', 'reserved', 'selected'])
}

export default Seat;