Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
🐛 Fix default exports
Browse files Browse the repository at this point in the history
  • Loading branch information
imptrx committed Jul 2, 2019
1 parent 6cccec1 commit 6a26cb9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/features/newTab/default/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import { StatsContainer, StatsItem } from './stats'
import { Page, DynamicBackground, Gradient, Link, Navigation, IconLink, PhotoName } from './page'
import { Header, Main, Footer } from './grid'
import { SettingsMenu, SettingsRow, SettingsText, SettingsTitle, SettingsWrapper } from './settings'
import { List, Tile, TileActionsContainer, TileAction, TileFavicon } from './topSites'
import { List, ListWidget, Tile, TileActionsContainer, TileAction, TileFavicon } from './topSites'
import { SiteRemovalNotification, SiteRemovalText, SiteRemovalAction } from './notification'
import { ClockWidget } from './clock'
import createWidget from './widget'

export {
StatsContainer,
Expand All @@ -25,6 +26,7 @@ export {
Main,
Footer,
List,
ListWidget,
Tile,
TileActionsContainer,
TileAction,
Expand All @@ -37,5 +39,6 @@ export {
SettingsRow,
SettingsText,
SettingsTitle,
SettingsWrapper
SettingsWrapper,
createWidget
}
3 changes: 3 additions & 0 deletions src/features/newTab/default/topSites/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

import styled from '../../../../theme'
import createWidget from '../widget'

export const List = styled<{}, 'div'>('div')`
margin: 0 70px;
Expand Down Expand Up @@ -100,3 +101,5 @@ export const TileFavicon = styled<{}, 'img'>('img')`
height: 72px;
padding: 16px;
`

export const ListWidget = createWidget(List)

0 comments on commit 6a26cb9

Please sign in to comment.