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/UserAccountButton/index.tsx

20 lines
476 B

import React from 'react'
import { T9n } from 'features/T9n'
import { PlusIconWrapper } from '../PlusIcon'
import { UserAccountButtonWrapper, PlusIconTextWrapper } from './styled'
type Props = {
open?: () => void,
text: string,
}
export const UserAccountButton = ({ open, text }: Props) => (
<UserAccountButtonWrapper onClick={open}>
<PlusIconWrapper />
<PlusIconTextWrapper>
<T9n t={text} />
</PlusIconTextWrapper>
</UserAccountButtonWrapper>
)