Skip to content

Commit

Permalink
fix: input props type
Browse files Browse the repository at this point in the history
  • Loading branch information
KarineBrandelli committed Feb 29, 2024
1 parent 5dfa280 commit 167f5ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/core/inputs/text-field/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ import { makeStyles } from '@material-ui/core/styles'
import { when, is, pipe, split, map, zipObj, reject, propEq } from 'ramda'
import { default as styled } from 'styled-components'
import type { DefaultProps } from '../../types'
import type { TextFieldProps as MuiTextFieldProps } from '@material-ui/core'
import type {
InputBaseComponentProps,
TextFieldProps as MuiTextFieldProps
} from '@material-ui/core'
import { Clear, Help as ContactSupportIcon, Edit, Save } from '@/icons'
import { IconButton } from '../icon-button'
import { theme } from '@/theme'
Expand Down Expand Up @@ -55,9 +58,7 @@ export interface TextFieldProps
value?: string | number
variant?: 'standard' | 'outlined' | 'filled'
inputRef?: Ref<HTMLInputElement>
inputProps?: {
maxLength?: number
} & object
inputProps?: InputBaseComponentProps
InputProps?: object
InputLabelProps?: object
SelectProps?: object
Expand Down

0 comments on commit 167f5ca

Please sign in to comment.