import React from "react"; import { IStackProps, Link, VStack } from "native-base"; import { noop } from "lodash"; import { TransText, TransTitle } from "../../../core/layout"; import GoodIdCard from "../components/GoodIdCard"; import { GoodButton } from "../../../core/buttons"; import { withTheme } from "../../../theme/hoc/withTheme"; import { LoaderModal } from "../../../core/web3/modals"; import { SegmentationProps } from "../wizards"; const SegmentationConfirmation = withTheme({ name: "SegmentationConfirmation" })( ({ account, isWhitelisted, expiryFormatted, styles, isWallet, onDone, ...props }: IStackProps & Omit & { styles?: any; isWallet: boolean; }) => { const { innerContainer, button } = styles ?? {}; return isWhitelisted === undefined || !account ? ( ) : ( {isWallet ? ( ) : ( GoodDapp. ) }} variant="browse-wrap" /> )} ); } ); export default SegmentationConfirmation;