17782: Fixes almost all tests (4 left) mostly by fixing namespace-type imports.
[arvados-workbench2.git] / src / components / text-field / text-field.tsx
index cb908fa044a8d31e9dfb948e98bb81cacf056bc9..09fa2dd82830ea9444a0f204c53b2f8820849751 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
 import { WrappedFieldProps } from 'redux-form';
 import { ArvadosTheme } from 'common/custom-theme';
 import {
@@ -13,7 +13,7 @@ import {
     PropTypes
 } from '@material-ui/core';
 import RichTextEditor from 'react-rte';
-import Margin = PropTypes.Margin;
+import Margin from 'PropTypes';
 
 type CssRules = 'textField' | 'rte';