import * as React from 'react'; import { Button } from 'ts/components/ui/button'; import { Container } from 'ts/components/ui/container'; import { Text } from 'ts/components/ui/text'; import { colors } from 'ts/style/colors'; import { ScreenWidths } from 'ts/types'; export interface Introducing0xInstantProps { screenWidth: ScreenWidths; onCTAClick: () => void; } export const Introducing0xInstant = (props: Introducing0xInstantProps) => { const isSmallScreen = props.screenWidth === ScreenWidths.Sm; const zero = ( 0 ); const title = isSmallScreen ? (
Introducing
{zero}x Instant
) : (
Introducing {zero}x Instant
); return (
{title} A free and flexible way to offer simple crypto
purchasing in any app or website.
); };