import { GavelIcon } from "lucide-react"; import BtnOptionnalLinkWithTooltip from "@/back/Components/BtnOptionnalLinkWithTooltip"; import SimpleString from "@/back/Components/Inputs/SimpleString"; import str from "@/hooks/use-string"; import useTrans from "@/hooks/use-translations"; interface SlugifycatorProps { value: string; targetValue: string; wordCounter?: boolean; disabled?: boolean; setData: (name: string, value: string) => void; } export default function Slugifycator(props: SlugifycatorProps) { const { value, targetValue, setData, wordCounter = false, disabled = false, } = props; return (