mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
Change div to span
This commit is contained in:
parent
965f948899
commit
3339c5c1d6
1 changed files with 3 additions and 3 deletions
|
@ -2,14 +2,14 @@ import './loader.css';
|
|||
|
||||
function Loader({ abrupt, hidden, ...props }) {
|
||||
return (
|
||||
<div
|
||||
<span
|
||||
{...props}
|
||||
class={`loader-container ${abrupt ? 'abrupt' : ''} ${
|
||||
hidden ? 'hidden' : ''
|
||||
}`}
|
||||
>
|
||||
<div class="loader" />
|
||||
</div>
|
||||
<span class="loader" />
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue