mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
upgrade TS to v7
update readme to reflect new lint and format plugins, apply formatting rules
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ReactNode } from 'react'
|
||||
import type { ReactNode } from "react";
|
||||
import { Switch, SwitchProps } from "@headlessui/react";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
@@ -9,11 +9,7 @@ export const InlineSwitch = (
|
||||
tooltipId?: string;
|
||||
} & SwitchProps<"button">,
|
||||
) => {
|
||||
const {
|
||||
label,
|
||||
disabled,
|
||||
...rest
|
||||
} = props;
|
||||
const { label, disabled, ...rest } = props;
|
||||
|
||||
return (
|
||||
<Switch.Group>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ComponentProps, ReactNode } from 'react'
|
||||
import type { ComponentProps, ReactNode } from "react";
|
||||
import { VariantProps, cva } from "class-variance-authority";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user