we can now download maps from bsaver

This commit is contained in:
MathieuG-P
2022-12-06 00:52:37 +01:00
parent 9dce72250e
commit 8930009398
16 changed files with 309 additions and 24 deletions
@@ -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>
)
}