1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

fix import/export, remove need for .alias.js, closes #74

This commit is contained in:
checktheroads
2020-09-28 11:54:00 -07:00
parent a4664e9f3f
commit 46e7dc40d0
71 changed files with 1678 additions and 2311 deletions

View File

@@ -1,6 +1,6 @@
import * as React from "react";
import { PseudoBox, useColorMode, useTheme } from "@chakra-ui/core";
import { opposingColor } from "~/util";
import { opposingColor } from "app/util";
const hoverBg = { dark: "whiteAlpha.50", light: "blackAlpha.50" };
const bgStripe = { dark: "whiteAlpha.50", light: "blackAlpha.50" };
@@ -11,7 +11,7 @@ const rowBorder = {
const alphaMap = { dark: "200", light: "100" };
const alphaMapHover = { dark: "100", light: "200" };
const TableRow = ({
export const TableRow = ({
highlight = false,
highlightBg = "primary",
doStripe = false,
@@ -52,5 +52,3 @@ const TableRow = ({
</PseudoBox>
);
};
export default TableRow;