mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
use cra pattern for importing react
This commit is contained in:
parent
4f2e2e7c36
commit
7de985ed63
4 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Table } from 'antd';
|
||||
import * as React from "react";
|
||||
import React from 'react';
|
||||
import { Description, SubscribeButton, TagCloud } from '../../shared';
|
||||
import { nameof } from '../../utils';
|
||||
import './AllListsTable.css';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import * as React from "react";
|
||||
import React from 'react';
|
||||
|
||||
interface Props {
|
||||
desription: string;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Button, Dropdown, Menu } from 'antd';
|
||||
import { ButtonProps, ButtonType } from "antd/lib/button";
|
||||
import * as React from "react";
|
||||
import React from 'react';
|
||||
import './SubscribeButton.css';
|
||||
|
||||
//TODO: import DropdownButtonType from antd rather than redefining if they export the type
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Tag } from 'antd';
|
||||
import * as React from "react";
|
||||
import React from 'react';
|
||||
import styles from './TagCloud.module.css';
|
||||
|
||||
interface TagData {
|
||||
|
|
|
|||
Loading…
Reference in a new issue