mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-08-29 10:43:56 +00:00
15 lines
303 B
JavaScript
15 lines
303 B
JavaScript
import { Input } from "@douyinfe/semi-ui";
|
|
import { useTranslation } from "react-i18next";
|
|
|
|
export default function Rename({ title, setTitle }) {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<Input
|
|
placeholder={t("name")}
|
|
value={title}
|
|
onChange={(v) => setTitle(v)}
|
|
/>
|
|
);
|
|
}
|