mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-16 04:13:12 +00:00
feat: add start decorator to inputs
This commit is contained in:
parent
cb286d827d
commit
4dcf352896
@ -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}
|
||||||
/>
|
/>
|
||||||
|
@ -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}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user