Migrated BookmarksSidebar to TypeScript

Summary: Migrated BookmarksSidebar.js to BookmarksSidebar.tsx

Reviewed By: danielbuechele

Differential Revision: D17132218

fbshipit-source-id: 0e95201b5fe7c17e4acc93926325e953d8859d6c
This commit is contained in:
Benjamin Elo
2019-09-02 03:54:48 -07:00
committed by Facebook Github Bot
parent 434ed4ec7d
commit 7d0710a0c8
2 changed files with 7 additions and 8 deletions

View File

@@ -3,17 +3,16 @@
* 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
*/
import {DetailSidebar, FlexCenter, styled, colors} from 'flipper';
import {Bookmark, URI} from '../types';
import React from 'react';
import type {Bookmark} from '../flow-types';
type Props = {|
bookmarks: Map<string, Bookmark>,
onNavigate: string => void,
|};
type Props = {
bookmarks: Map<string, Bookmark>;
onNavigate: (uri: URI) => void;
};
const NoData = styled(FlexCenter)({
fontSize: 18,

View File

@@ -7,7 +7,7 @@
*/
export {default as AutoCompleteSheet} from './AutoCompleteSheet';
export {default as BookmarksSidebar} from './BookmarksSidebar';
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';