import React, { SetStateAction } from "react"; import { trans } from "../../i18n"; import { formatUserLabel } from "../../userLabel"; import { SlugInputWidget } from "../../widgets/SlugInputWidget"; /** * Slug for the new child page. */ export default function Slug({ id, placeholder, setId, }: { id: string; placeholder: string; setId: (s: SetStateAction) => void; }): JSX.Element { return (
{formatUserLabel(trans("ID"))}
); }