diff options
| author | Oliver <oliver@mohlin.dev> | 2025-05-30 10:59:19 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2025-06-03 08:51:02 +0200 |
| commit | 31b6cd996a4f66098e80a17bdaf351b7b5e9be46 (patch) | |
| tree | 8f7b11bd834eee5f0e2bf3b9c0bb6244bbf2c38c | |
| parent | 7feb43fb8c45afd131aa2e31d2d3899f2960d5ea (diff) | |
| download | mullvadvpn-31b6cd996a4f66098e80a17bdaf351b7b5e9be46.tar.xz mullvadvpn-31b6cd996a4f66098e80a17bdaf351b7b5e9be46.zip | |
Remove CellNavigationButton
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/renderer/components/cell/CellButton.tsx | 24 |
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> - ); -} |
