chore: type
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user