mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Replace FormInput with input component
This commit is contained in:
parent
c18b41f184
commit
56f28bcd14
1 changed files with 1 additions and 2 deletions
|
|
@ -6,7 +6,6 @@ import {
|
|||
import { Box, HStack, VStack } from '../elements/LayoutPrimitives'
|
||||
import { Button } from '../elements/Button'
|
||||
import { StyledText } from '../elements/StyledText'
|
||||
import { FormInput } from '../elements/FormElements'
|
||||
|
||||
export interface FormInputProps {
|
||||
name: string
|
||||
|
|
@ -46,7 +45,7 @@ export function FormModal(props: FormModalProps): JSX.Element {
|
|||
{props.inputs?.map((input) => (
|
||||
<HStack key={input.name}>
|
||||
<StyledText>{input.label}</StyledText>
|
||||
<FormInput
|
||||
<input
|
||||
key={input.name}
|
||||
type={input.type || 'text'}
|
||||
value={input.value}
|
||||
|
|
|
|||
Loading…
Reference in a new issue