A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
refactor: remove unused components
thecodrrc8462a44477a
diff --git a/apps/web/src/components/button/index.js b/apps/web/src/components/button/index.jsdeleted file mode 100644index d9240cf98..000000000--- a/apps/web/src/components/button/index.js+++ /dev/null@@ -1,49 +0,0 @@-import React from "react";-import { Flex, Text } from "rebass";-import { useTheme } from "emotion-theming";--//TODO use normal button-const boxShadow = "1px 1px 10px 0px var(--primary)";-function Button(props) {- const theme = useTheme();- return (- <Flex- data-test-id={props.testId}- bg="primary"- py={[3, 3, 2]}- px={[3, 3, 2]}- mx={2}- alignItems="center"- display={["flex", "flex", props.show ? "flex" : "none"]}- sx={{- position: ["absolute", "absolute", "relative"],- bottom: [2, 2, 0],- right: [2, 2, 0],- borderRadius: [50, 50, "default"],- marginBottom: 2,- color: "static",- fontFamily: "body",- fontWeight: "body",- zIndex: 999,- boxShadow: [boxShadow, boxShadow, "none"],- ":hover": {- cursor: "pointer",- bg: theme.colors.primary + "dd",- },- }}- onClick={props.onClick}- >- {props.Icon && <props.Icon color="static" size={16} />}- <Text- display={["none", "none", "flex"]}- as="span"- mx={1}- fontSize={"body"}- flex="1 1 auto"- >- {props.content}- </Text>- </Flex>- );-}-export default Button;