mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01: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 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}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user