diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx new file mode 100644 index 00000000..3e345076 --- /dev/null +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/BackButton.tsx @@ -0,0 +1,28 @@ +import { Text } from '@status-im/components' +import { Stack, XStack } from 'tamagui' +import { ArrowLeftIcon } from '@status-im/icons' +import { useState } from 'react' +type BackButtonProps = { + prevPage: string + buttonState: 'disabled' | 'enabled' | 'pressed' +} +const BackButton = ({ prevPage }: BackButtonProps) => { + const [buttonState, setButtonState] = useState('enabled') + + return ( + + + + + {prevPage} + + + ) +} + +export default BackButton