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:
committed by
Facebook Github Bot
parent
434ed4ec7d
commit
7d0710a0c8
@@ -3,17 +3,16 @@
|
|||||||
* This source code is licensed under the MIT license found in the
|
* This source code is licensed under the MIT license found in the
|
||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
* @format
|
* @format
|
||||||
* @flow strict-local
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {DetailSidebar, FlexCenter, styled, colors} from 'flipper';
|
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>;
|
||||||
type Props = {|
|
onNavigate: (uri: URI) => void;
|
||||||
bookmarks: Map<string, Bookmark>,
|
};
|
||||||
onNavigate: string => void,
|
|
||||||
|};
|
|
||||||
|
|
||||||
const NoData = styled(FlexCenter)({
|
const NoData = styled(FlexCenter)({
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export {default as AutoCompleteSheet} from './AutoCompleteSheet';
|
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 FavoriteButton} from './FavoriteButton.tsx';
|
||||||
export {default as IconButton} from './IconButton.tsx';
|
export {default as IconButton} from './IconButton.tsx';
|
||||||
export {default as NavigationInfoBox} from './NavigationInfoBox.tsx';
|
export {default as NavigationInfoBox} from './NavigationInfoBox.tsx';
|
||||||
|
|||||||
Reference in New Issue
Block a user