mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
18 lines
517 B
TypeScript
18 lines
517 B
TypeScript
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>
|
|
)
|
|
}
|