chore: type

This commit is contained in:
Stephen Zhou
2025-04-30 15:53:39 +08:00
parent be3811e0f8
commit 8586d689a4
2 changed files with 3 additions and 2 deletions
@@ -47,7 +47,7 @@ const WarnGoToExternalLinkImpl = forwardRef<
React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>
>(({ ...rest }, ref) => {
const [open, setOpen] = useState(false)
const [checked, setChecked] = useState(false)
const [checked, setChecked] = useState<boolean | "indeterminate">(false)
const shouldWarn = useGeneralSettingKey("jumpOutLinkWarn")
const handleOpen: React.MouseEventHandler<HTMLAnchorElement> = (e) => {
@@ -1,12 +1,13 @@
"use client"
import { Spring } from "@follow/components/constants/spring"
import { cn } from "@follow/utils/utils"
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"
import type { HTMLMotionProps, Transition } from "motion/react"
import { AnimatePresence, m } from "motion/react"
import * as React from "react"
import { Spring } from "../../constants/spring"
type RadioGroupProps = React.ComponentProps<typeof RadioGroupPrimitive.Root> & {
transition?: Transition
}