fix: rename Labeled-Input size prop to variantSize
This commit is contained in:
parent
4772425abd
commit
aebbfb9f5d
2 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@ export default function EventForm({ type = 'edit' }: eventFormProps) {
|
|||
label='Event Name'
|
||||
placeholder={type === 'create' ? 'New Event' : 'Event Name'}
|
||||
name='eventName'
|
||||
size='big'
|
||||
variantSize='big'
|
||||
/>
|
||||
</div>
|
||||
<div className='w-0 sm:w-[50px]'></div>
|
||||
|
@ -77,7 +77,7 @@ export default function EventForm({ type = 'edit' }: eventFormProps) {
|
|||
label='Event Description'
|
||||
placeholder='What is the event about?'
|
||||
name='eventDescription'
|
||||
size='textarea'
|
||||
variantSize='textarea'
|
||||
></LabeledInput>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue