chore: better Prettier config for easier reviews
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import classNames from 'clsx'
|
||||
import classNames from "clsx"
|
||||
|
||||
export interface IconButtonProps
|
||||
extends React.ComponentPropsWithoutRef<'button'> {}
|
||||
extends React.ComponentPropsWithoutRef<"button"> {}
|
||||
|
||||
export const IconButton: React.FC<IconButtonProps> = (props) => {
|
||||
const { children, className, ...rest } = props
|
||||
@ -9,8 +9,8 @@ export const IconButton: React.FC<IconButtonProps> = (props) => {
|
||||
return (
|
||||
<button
|
||||
className={classNames(
|
||||
'flex items-center justify-center text-center text-green-800 hover:animate-pulse focus:animate-pulse focus:outline-none dark:text-green-400',
|
||||
className
|
||||
"flex items-center justify-center text-center text-green-800 hover:animate-pulse focus:animate-pulse focus:outline-none dark:text-green-400",
|
||||
className,
|
||||
)}
|
||||
{...rest}
|
||||
>
|
||||
|
@ -1 +1 @@
|
||||
export * from './IconButton'
|
||||
export * from "./IconButton"
|
||||
|
Reference in New Issue
Block a user