mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
chore: better Prettier config for easier reviews
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import classNames from 'clsx'
|
||||
import classNames from "clsx"
|
||||
|
||||
export interface LoaderProps {
|
||||
width?: number
|
||||
@ -13,16 +13,16 @@ export const Loader = (props: LoaderProps): JSX.Element => {
|
||||
<div
|
||||
style={{
|
||||
width,
|
||||
height
|
||||
height,
|
||||
}}
|
||||
className={classNames(
|
||||
'animate-spin inline-block border-[3px] border-current border-t-transparent text-yellow dark:text-yellow-dark rounded-full',
|
||||
className
|
||||
"animate-spin inline-block border-[3px] border-current border-t-transparent text-yellow dark:text-yellow-dark rounded-full",
|
||||
className,
|
||||
)}
|
||||
role='status'
|
||||
aria-label='loading'
|
||||
role="status"
|
||||
aria-label="loading"
|
||||
>
|
||||
<span className='sr-only'>Loading...</span>
|
||||
<span className="sr-only">Loading...</span>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user