Skip to content

Commit 2531c51

Browse files
committed
removed options in TextInput propTypes as they are not used
1 parent cec5eb3 commit 2531c51

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/ra-ui-materialui/src/input/TextInput.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { sanitizeInputRestProps } from './sanitizeInputRestProps';
2323
* <TextInput source="email" type="email" />
2424
* <NumberInput source="nb_views" />
2525
*
26-
* The object passed as `options` props is passed to the <ResettableTextField> component
2726
*/
2827
export const TextInput = (props: TextInputProps) => {
2928
const {
@@ -99,7 +98,6 @@ TextInput.propTypes = {
9998
PropTypes.bool,
10099
PropTypes.element,
101100
]),
102-
options: PropTypes.object,
103101
resource: PropTypes.string,
104102
source: PropTypes.string,
105103
};

0 commit comments

Comments
 (0)