import React from "react";
import '../../Css/loading.css'

export function Loading( props ) {

    let { type } = props

    let types = [
        "dot-elastic","dot-flashing", "dot-collision", "dot-revolution", "dot-carousel", "dot-fire",
        "dot-spin","dot-falling", "dot-stretching"
    ];

    console.log(type, types)

    return(
        <div className="loading_or_content">
            <div className="snippet" data-title=".dot-pulse">
                <div className="stage">
                    <div className="dot-pulse"></div>
                </div>
            </div>
        </div>
    )
}
