import React from 'react'
export function LastActivitys() {

    let activitys = [{
        password : "rcardona",
        description : "Creó la contraseña: pilotosanti",
        module : "Contraseñas",
        date : "21/12/18 7:25:52",
    },{
        password : "ming",
        description : "Creó la contraseña: pilotosanti",
        module : "Contraseñas",
        date : "21/12/18 8:25:52",
    },{
        password : "test",
        description : "Creó la contraseña: pilotosanti",
        module : "Contraseñas",
        date : "21/12/18 9:25:52",
    } ]

    return(
        <React.Fragment>
            {
                activitys.map( ( activity, index ) => {
                    return(
                        <div key={index} className="body_history">
                            <div className="row">
                                <div className="col25">
                                    <p>{ activity.password }</p>
                                </div>
                                <div className="col25">
                                    <p>{ activity.description }</p>
                                </div>
                                <div className="col25">
                                    <p>{ activity.module }</p>
                                </div>
                                <div className="col25">
                                    <p>{ activity.date }</p>
                                </div>
                            </div> 
                        </div>

                    )
                })
            }
        </React.Fragment>
    )
}
