Skip to content

Commit c899d1a

Browse files
committed
Revert some of recent changes
1 parent 0e20ebd commit c899d1a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/components/baseInput/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// @ts-nocheck
2-
import {Component} from 'react';
32
import _ from 'lodash';
43
import PropTypes from 'prop-types';
4+
import 'react';
55
import {ViewPropTypes, TextInput as RNTextInput} from 'react-native';
66
import {Colors, Typography} from '../../style';
7-
// import {BaseComponent} from '../../commons';
7+
import {BaseComponent} from '../../commons';
88
import Validators from './Validators';
99

1010
const VALIDATORS = {
@@ -15,7 +15,7 @@ const VALIDATORS = {
1515
PRICE: 'price'
1616
};
1717

18-
export default class BaseInput extends Component {
18+
export default class BaseInput extends BaseComponent {
1919
static displayName = 'BaseInput';
2020

2121
static propTypes = {

src/components/dateTimePicker/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ class DateTimePicker extends Component<DateTimePickerPropsInternal, DateTimePick
286286
const {renderInput} = this.props;
287287

288288
return (
289+
// @ts-expect-error
289290
<TextField
290291
renderExpandableInput={renderInput}
291292
{...textInputProps}

src/components/textField/TextFieldMigrator.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const TextFieldMigrator = forwardRef(({migrate = false, customWarning, ...props}
6666
// @ts-ignore
6767
return <NewTextField {...migratedProps} ref={ref}/>;
6868
} else {
69+
// @ts-expect-error
6970
return <OldTextField {...props} ref={ref}/>;
7071
}
7172
});

0 commit comments

Comments
 (0)