You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
946 B
21 lines
946 B
import React, { FC } from 'react'
|
|
|
|
interface Props {
|
|
color: string
|
|
}
|
|
|
|
const Spinner: FC<Props> = ({ color }) => (
|
|
<div className="sk-cube-grid">
|
|
<div className="sk-cube sk-cube1" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube2" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube3" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube4" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube5" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube6" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube7" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube8" style={{ backgroundColor: color }}></div>
|
|
<div className="sk-cube sk-cube9" style={{ backgroundColor: color }}></div>
|
|
</div>
|
|
)
|
|
|
|
export default Spinner
|