🐛 fix(dictComponent): fix placeholder text in input field to improve clarity and user experience
🔀 refactor(dictComponent): reorganize imports for better readability and maintainability
This commit is contained in:
parent
0aa39d8a8e
commit
6b129b4d44
1 changed files with 13 additions and 13 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { DictComponentType } from "../../types/components";
|
import { DictComponentType } from "../../types/components";
|
||||||
|
|
||||||
|
import DictAreaModal from "../../modals/dictAreaModal";
|
||||||
import { classNames } from "../../utils/utils";
|
import { classNames } from "../../utils/utils";
|
||||||
import { Input } from "../ui/input";
|
import { Input } from "../ui/input";
|
||||||
import DictAreaModal from "../../modals/dictAreaModal";
|
|
||||||
|
|
||||||
export default function DictComponent({
|
export default function DictComponent({
|
||||||
value,
|
value,
|
||||||
|
|
@ -38,7 +38,7 @@ export default function DictComponent({
|
||||||
className={
|
className={
|
||||||
editNode ? "input-edit-node cursor-pointer" : "cursor-pointer"
|
editNode ? "input-edit-node cursor-pointer" : "cursor-pointer"
|
||||||
}
|
}
|
||||||
placeholder="Click edit your dictionary..."
|
placeholder="Click to edit your dictionary..."
|
||||||
/>
|
/>
|
||||||
</DictAreaModal>
|
</DictAreaModal>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue