1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00

type check fix

This commit is contained in:
Matthias Kretschmann 2020-10-06 23:16:08 +02:00
parent 79ccff7905
commit ad25a0591a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 9 additions and 3 deletions

View File

@ -6,7 +6,13 @@ import FilesInput from '../../molecules/FormFields/FilesInput'
import Terms from '../../molecules/FormFields/Terms'
import Price from '../../molecules/FormFields/Price'
const DefaultInput = ({ small, ...props }: InputProps) => (
const DefaultInput = ({
small,
prefix,
postfix,
additionalComponent,
...props
}: InputProps) => (
<input
className={`${styles.input} ${small ? styles.small : null}`}
id={props.name}

View File

@ -35,8 +35,8 @@ export interface InputProps {
readOnly?: boolean
field?: any
form?: any
prefix?: ReactNode | string
postfix?: ReactNode | string
prefix?: string | ReactElement
postfix?: string | ReactElement
step?: string
defaultChecked?: boolean
small?: boolean