diff --git a/components/CreateSecret/CustomExpireInForm.tsx b/components/CreateSecret/CustomExpireInForm.tsx new file mode 100644 index 0000000..808bdc8 --- /dev/null +++ b/components/CreateSecret/CustomExpireInForm.tsx @@ -0,0 +1,65 @@ +import { signal } from "@preact/signals"; +import { scrollNumberInputValue } from "@/src/utils/wheelEventHandler.ts"; +const isCustomExpireIn = signal(false); + +export default function CustomExpireInForm() { + return ( + <> + { + isCustomExpireIn.value = !isCustomExpireIn.value; + }} + /> + + {isCustomExpireIn.value && ( + <> +