mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
we can now download maps from bsaver
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
.loader {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
animation: rotation 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { CSSProperties } from "react"
|
||||
import "./bsm-basic-spinner.component.css"
|
||||
|
||||
type Props = {
|
||||
className?: string,
|
||||
style?: CSSProperties,
|
||||
spinnerClassName?: string,
|
||||
thikness?: string
|
||||
}
|
||||
|
||||
export function BsmBasicSpinner({className, style, spinnerClassName, thikness = "5px"}: Props) {
|
||||
return (
|
||||
<div className={className} style={style}>
|
||||
<span className={`${spinnerClassName} loader`} style={{border: `${thikness} solid currentColor`, borderBottomColor: "transparent"}}/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user