1
1
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:
2023-10-23 23:11:59 +02:00
parent c7ad15a465
commit e566ef6c38
105 changed files with 2138 additions and 2080 deletions

View File

@ -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>
)
}