esModuleInterop

This commit is contained in:
shibafu
2020-08-17 18:17:38 +09:00
parent 8641f26350
commit 7d8969e5f1
11 changed files with 17 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
type CheckboxProps = {
id: string;

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
import React from 'react';
import { useState } from 'react';
import * as classNames from 'classnames';
import classNames from 'classnames';
import { CheckBox } from './CheckBox';
import { FieldError, StandaloneFieldError } from './FieldError';
import { TagInput } from './TagInput';

View File

@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
type FieldErrorProps = {
errors?: string[];

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
import React from 'react';
import { useEffect, useState } from 'react';
import * as classNames from 'classnames';
import classNames from 'classnames';
import { fetchGet, ResponseError } from '../fetch';
enum MetadataLoadState {

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
import React from 'react';
import { useState, useRef } from 'react';
import * as classNames from 'classnames';
import classNames from 'classnames';
type TagInputProps = {
id: string;