Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Aug 16, 2019
1 parent f38c7a2 commit 88087c3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/ra-ui-materialui/src/input/NumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ const parse = value => {
return isNaN(float) ? null : float;
};

interface Props {
step: string | number;
}

/**
* An Input component for a number
*
Expand All @@ -25,7 +29,9 @@ const parse = value => {
* The object passed as `options` props is passed to the material-ui <TextField> component
*/
const NumberInput: FunctionComponent<
InputProps<TextFieldProps> & Omit<TextFieldProps, 'label' | 'helperText'>
Props &
InputProps<TextFieldProps> &
Omit<TextFieldProps, 'label' | 'helperText'>
> = ({
helperText,
label,
Expand Down

0 comments on commit 88087c3

Please sign in to comment.