mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-30 22:01:44 +02:00
type check fix
This commit is contained in:
parent
79ccff7905
commit
ad25a0591a
|
@ -6,7 +6,13 @@ import FilesInput from '../../molecules/FormFields/FilesInput'
|
||||||
import Terms from '../../molecules/FormFields/Terms'
|
import Terms from '../../molecules/FormFields/Terms'
|
||||||
import Price from '../../molecules/FormFields/Price'
|
import Price from '../../molecules/FormFields/Price'
|
||||||
|
|
||||||
const DefaultInput = ({ small, ...props }: InputProps) => (
|
const DefaultInput = ({
|
||||||
|
small,
|
||||||
|
prefix,
|
||||||
|
postfix,
|
||||||
|
additionalComponent,
|
||||||
|
...props
|
||||||
|
}: InputProps) => (
|
||||||
<input
|
<input
|
||||||
className={`${styles.input} ${small ? styles.small : null}`}
|
className={`${styles.input} ${small ? styles.small : null}`}
|
||||||
id={props.name}
|
id={props.name}
|
||||||
|
|
|
@ -35,8 +35,8 @@ export interface InputProps {
|
||||||
readOnly?: boolean
|
readOnly?: boolean
|
||||||
field?: any
|
field?: any
|
||||||
form?: any
|
form?: any
|
||||||
prefix?: ReactNode | string
|
prefix?: string | ReactElement
|
||||||
postfix?: ReactNode | string
|
postfix?: string | ReactElement
|
||||||
step?: string
|
step?: string
|
||||||
defaultChecked?: boolean
|
defaultChecked?: boolean
|
||||||
small?: boolean
|
small?: boolean
|
||||||
|
|
Loading…
Reference in New Issue
Block a user