mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-14 17:36:49 +02:00
Use prettier to order tailwind classes
This commit is contained in:
parent
c5c2816c3d
commit
eee23c1bb5
52 changed files with 268 additions and 262 deletions
|
@ -44,7 +44,7 @@ const Button: React.ForwardRefRenderFunction<HTMLButtonElement, ButtonProps> = (
|
|||
"btn-danger": type === "danger",
|
||||
"btn-link": type === "link",
|
||||
"btn-disabled": disabled,
|
||||
"rounded-full p-2 h-auto": rounded,
|
||||
"h-auto rounded-full p-2": rounded,
|
||||
"w-10 p-0": !children,
|
||||
},
|
||||
className,
|
||||
|
@ -54,7 +54,7 @@ const Button: React.ForwardRefRenderFunction<HTMLButtonElement, ButtonProps> = (
|
|||
>
|
||||
{loading ? (
|
||||
<SpinnerIcon
|
||||
className={clsx("w-5 animate-spin inline-block", {
|
||||
className={clsx("inline-block w-5 animate-spin", {
|
||||
"mr-2": !!children,
|
||||
})}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue