Skip to content

Commit

Permalink
feat(index.jsx): add price field
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadj-Said-Bouras committed Nov 23, 2023
1 parent e527c7f commit 38aadfe
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions src/pages/addItemPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,29 @@ export default function Index() {
</select>
</div>
<div className='flex flex-col'>
<label
htmlFor='description'
className='text-sm font-medium'
>
<label htmlFor='city' className='text-sm font-medium'>
City
</label>
<textarea
id='description'
id='city'
className='border-current p-2 rounded-md shadow-md text-gray-400 h-10'
minLength={3}
maxLength={15}
placeholder='Description'
placeholder='city'
/>
</div>

<div className='flex flex-col'>
<label htmlFor='price' className='text-sm font-medium'>
Price
</label>
<input
id='price'
className='border-current p-2 rounded-md shadow-md text-gray-400 h-10'
minLength={3}
maxLength={15}
placeholder='DA'
type='number'
/>
</div>

Expand Down

0 comments on commit 38aadfe

Please sign in to comment.