Skip to content

Commit

Permalink
Update formatting on Form
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrp13 committed Apr 26, 2022
1 parent 73269d1 commit a48b251
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions components/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,30 +82,30 @@ export const Form: FC = () => {
<FormControl isRequired>
<FormLabel color='gray.200'>
Movie Title
</FormLabel>
<Input
id='title'
color='gray.400'
onChange={event => setTitle(event.currentTarget.value)}
/>
</FormLabel>
<Input
id='title'
color='gray.400'
onChange={event => setTitle(event.currentTarget.value)}
/>
</FormControl>
<FormControl isRequired>
<FormLabel color='gray.200'>
Add your review
</FormLabel>
<Textarea
id='review'
</FormLabel>
<Textarea
id='review'
color='gray.400'
onChange={event => setDescription(event.currentTarget.value)}
/>
</FormControl>
<FormControl isRequired>
<FormLabel color='gray.200'>
Rating
</FormLabel>
<NumberInput
max={5}
min={1}
</FormLabel>
<NumberInput
max={5}
min={1}
onChange={(valueString) => setRating(parseInt(valueString))}
>
<NumberInputField id='amount' color='gray.400' />
Expand Down

0 comments on commit a48b251

Please sign in to comment.