initial commit

This commit is contained in:
2024-07-13 17:23:58 +02:00
parent c9e2bfe162
commit 6c1172afc1
23 changed files with 648 additions and 163 deletions

6
src/hooks/use-auto-id.ts Normal file
View File

@@ -0,0 +1,6 @@
import { useId } from 'react'
export const useAutoId = (id?: string) => {
const generatedId = useId()
return id ?? generatedId
}