feat: add start decorator to inputs

This commit is contained in:
johnnyjoy 2024-09-18 20:22:43 +08:00
parent cb286d827d
commit 4dcf352896
2 changed files with 5 additions and 3 deletions

View File

@ -169,7 +169,8 @@ const CreateCollectionDrawer: React.FC<Props> = (props: Props) => {
<Input <Input
className="w-full" className="w-full"
type="text" type="text"
placeholder="The memorable name of the collection" startDecorator="c/"
placeholder="An easy name to remember"
value={state.collectionCreate.name} value={state.collectionCreate.name}
onChange={handleNameInputChange} onChange={handleNameInputChange}
/> />
@ -182,7 +183,7 @@ const CreateCollectionDrawer: React.FC<Props> = (props: Props) => {
<Input <Input
className="w-full" className="w-full"
type="text" type="text"
placeholder="A short title to describe your collection" placeholder="A short title of your collection"
value={state.collectionCreate.title} value={state.collectionCreate.title}
onChange={handleTitleInputChange} onChange={handleTitleInputChange}
/> />

View File

@ -213,7 +213,8 @@ const CreateShortcutDrawer: React.FC<Props> = (props: Props) => {
<Input <Input
className="w-full" className="w-full"
type="text" type="text"
placeholder="The memorable name of the shortcut" startDecorator="s/"
placeholder="An easy name to remember"
value={state.shortcutCreate.name} value={state.shortcutCreate.name}
onChange={handleNameInputChange} onChange={handleNameInputChange}
/> />