2021-04-18 12:59:48 +00:00
|
|
|
import React from 'react';
|
2021-05-30 16:56:48 +00:00
|
|
|
import { Spinner } from 'react-bootstrap';
|
2021-04-18 12:59:48 +00:00
|
|
|
|
|
|
|
export default function EnteSpinner(props) {
|
2021-11-09 10:01:09 +00:00
|
|
|
const { style, ...others } = props ?? {};
|
2021-04-18 12:59:48 +00:00
|
|
|
return (
|
|
|
|
<Spinner
|
|
|
|
animation="border"
|
2021-08-24 03:54:36 +00:00
|
|
|
style={{
|
|
|
|
width: '36px',
|
|
|
|
height: '36px',
|
|
|
|
borderWidth: '0.20em',
|
2021-08-27 08:52:14 +00:00
|
|
|
color: '#51cd7c',
|
2021-11-09 10:01:09 +00:00
|
|
|
...(style && style),
|
2021-08-24 03:54:36 +00:00
|
|
|
}}
|
2021-11-09 10:01:09 +00:00
|
|
|
{...others}
|
2021-04-18 12:59:48 +00:00
|
|
|
role="status"
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|