You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
spa_instat_tv/src/features/UserAccount/components/TextNoBorder/index.tsx

23 lines
512 B

import React from 'react'
import { Price } from 'features/Register/components/Price'
import { TextNoBorderWrapper, TextNoBorderTextWrapper } from './styled'
import { PriceWrapper } from '../CardNumber/styled'
type Props = {
amount: number,
text: string,
}
export const TextNoBorder = ({
amount,
text,
}: Props) => (
<TextNoBorderWrapper>
<TextNoBorderTextWrapper>{text}</TextNoBorderTextWrapper>
<PriceWrapper>
<Price amount={amount} />
</PriceWrapper>
</TextNoBorderWrapper>
)