Skip to content

Commit

Permalink
feat: add start decorator to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Sep 18, 2024
1 parent cb286d8 commit 4dcf352
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions frontend/web/src/components/CreateCollectionDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ const CreateCollectionDrawer: React.FC<Props> = (props: Props) => {
<Input
className="w-full"
type="text"
placeholder="The memorable name of the collection"
startDecorator="c/"
placeholder="An easy name to remember"
value={state.collectionCreate.name}
onChange={handleNameInputChange}
/>
Expand All @@ -182,7 +183,7 @@ const CreateCollectionDrawer: React.FC<Props> = (props: Props) => {
<Input
className="w-full"
type="text"
placeholder="A short title to describe your collection"
placeholder="A short title of your collection"
value={state.collectionCreate.title}
onChange={handleTitleInputChange}
/>
Expand Down
3 changes: 2 additions & 1 deletion frontend/web/src/components/CreateShortcutDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ const CreateShortcutDrawer: React.FC<Props> = (props: Props) => {
<Input
className="w-full"
type="text"
placeholder="The memorable name of the shortcut"
startDecorator="s/"
placeholder="An easy name to remember"
value={state.shortcutCreate.name}
onChange={handleNameInputChange}
/>
Expand Down

0 comments on commit 4dcf352

Please sign in to comment.