Migrated components/index to TypeScript
Summary: Migrated components/index.js to components/index.tsx. Reviewed By: danielbuechele Differential Revision: D17132215 fbshipit-source-id: 76e03f9b4a509ad9c8faac484dc5b0ba7d1574e1
This commit is contained in:
committed by
Facebook Github Bot
parent
a615259961
commit
cfcd0f060c
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {styled, IconSize, colors} from 'flipper';
|
import {styled, IconSize, colors} from 'flipper';
|
||||||
import IconButton from './IconButton';
|
import {IconButton} from './';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|||||||
@@ -6,9 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {styled, SearchBox, SearchInput, Toolbar} from 'flipper';
|
import {styled, SearchBox, SearchInput, Toolbar} from 'flipper';
|
||||||
import AutoCompleteSheet from './AutoCompleteSheet';
|
import {AutoCompleteSheet, IconButton, FavoriteButton} from './';
|
||||||
import IconButton from './IconButton';
|
|
||||||
import FavoriteButton from './FavoriteButton';
|
|
||||||
import {AutoCompleteProvider, Bookmark, URI} from '../types';
|
import {AutoCompleteProvider, Bookmark, URI} from '../types';
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {colors, FlexCenter, styled, LoadingIndicator} from 'flipper';
|
import {colors, FlexCenter, styled, LoadingIndicator} from 'flipper';
|
||||||
import NavigationInfoBox from './NavigationInfoBox';
|
import {NavigationInfoBox} from './';
|
||||||
import {Bookmark, NavigationEvent, URI} from '../types';
|
import {Bookmark, NavigationEvent, URI} from '../types';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright 2018-present Facebook.
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
* @format
|
|
||||||
* @flow strict-local
|
|
||||||
*/
|
|
||||||
|
|
||||||
export {default as AutoCompleteSheet} from './AutoCompleteSheet.tsx';
|
|
||||||
export {default as BookmarksSidebar} from './BookmarksSidebar.tsx';
|
|
||||||
export {default as FavoriteButton} from './FavoriteButton.tsx';
|
|
||||||
export {default as IconButton} from './IconButton.tsx';
|
|
||||||
export {default as NavigationInfoBox} from './NavigationInfoBox.tsx';
|
|
||||||
export {
|
|
||||||
default as RequiredParametersDialog,
|
|
||||||
} from './RequiredParametersDialog.tsx';
|
|
||||||
export {default as SaveBookmarkDialog} from './SaveBookmarkDialog.tsx';
|
|
||||||
export {default as SearchBar} from './SearchBar.tsx';
|
|
||||||
export {default as Timeline} from './Timeline.tsx';
|
|
||||||
16
src/plugins/navigation/components/index.tsx
Normal file
16
src/plugins/navigation/components/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
* Copyright 2018-present Facebook.
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
* @format
|
||||||
|
*/
|
||||||
|
|
||||||
|
export {default as AutoCompleteSheet} from './AutoCompleteSheet';
|
||||||
|
export {default as BookmarksSidebar} from './BookmarksSidebar';
|
||||||
|
export {default as FavoriteButton} from './FavoriteButton';
|
||||||
|
export {default as IconButton} from './IconButton';
|
||||||
|
export {default as NavigationInfoBox} from './NavigationInfoBox';
|
||||||
|
export {default as RequiredParametersDialog} from './RequiredParametersDialog';
|
||||||
|
export {default as SaveBookmarkDialog} from './SaveBookmarkDialog';
|
||||||
|
export {default as SearchBar} from './SearchBar';
|
||||||
|
export {default as Timeline} from './Timeline';
|
||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
SearchBar,
|
SearchBar,
|
||||||
Timeline,
|
Timeline,
|
||||||
RequiredParametersDialog,
|
RequiredParametersDialog,
|
||||||
} from './components';
|
} from './components/index.tsx';
|
||||||
import {
|
import {
|
||||||
removeBookmark,
|
removeBookmark,
|
||||||
readBookmarksFromDB,
|
readBookmarksFromDB,
|
||||||
|
|||||||
Reference in New Issue
Block a user