Moved dice folder

This commit is contained in:
Mitchell McCaffrey
2020-05-28 13:06:33 +10:00
parent 1e0f767e73
commit b8e5554058
12 changed files with 22 additions and 22 deletions

View File

@@ -0,0 +1,29 @@
import React from "react";
import { Box, Text } from "theme-ui";
function DiceButtonCount({ children }) {
return (
<Box
sx={{
position: "absolute",
left: "50%",
bottom: "100%",
transform: "translateX(-50%)",
height: "14px",
display: "flex",
alignItems: "center",
}}
>
<Text
variant="caption"
as="p"
color="text"
sx={{ fontSize: "10px", fontWeight: "bold" }}
>
{children}×
</Text>
</Box>
);
}
export default DiceButtonCount;