summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/cell/CellButton.tsx24
1 files changed, 0 insertions, 24 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/cell/CellButton.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/cell/CellButton.tsx
index 9ab01c83ae..f2fcbb84d7 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/cell/CellButton.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/cell/CellButton.tsx
@@ -1,10 +1,8 @@
import React, { useContext } from 'react';
import styled from 'styled-components';
-import { Box, IconProps } from '../../lib/components';
import { colors, spacings } from '../../lib/foundations';
import { CellDisabledContext } from './Container';
-import { CellTintedIcon } from './Label';
import { Row } from './Row';
import { CellSectionContext } from './Section';
@@ -56,25 +54,3 @@ export const CellButton = styled(
);
}),
)({});
-
-interface ICellNavigationButtonProps extends ICellButtonProps {
- isAriaDescription?: boolean;
- icon?: IconProps;
-}
-
-export function CellNavigationButton({
- children,
- icon = {
- icon: 'chevron-right',
- },
- ...props
-}: ICellNavigationButtonProps) {
- return (
- <CellButton {...props}>
- {children}
- <Box $height="24px" $width="24px" center>
- <CellTintedIcon {...icon} />
- </Box>
- </CellButton>
- );
-}