upgrade TS to v7

update readme to reflect new lint and format plugins, apply formatting rules
This commit is contained in:
2026-10-05 16:15:25 +02:00
committed by owenrees
parent feadb465eb
commit 61dcd11739
10 changed files with 137 additions and 26 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { type ComponentProps } from 'react'
import { type ComponentProps } from "react";
import { type VariantProps, cva } from "class-variance-authority";
import { twMerge } from "tailwind-merge";
+2 -6
View File
@@ -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 -1
View File
@@ -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";