Skip to content

Commit

Permalink
fix:add top border
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacper-RF committed Oct 19, 2023
1 parent 14154d5 commit a212de3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ import { UnregisteredUsernameArgs } from '../ContextMenu.types'
import { View } from 'react-native'
import { Typography } from '../../Typography/Typography.component'
import { Button } from '../../Button/Button.component'
import { defaultPalette } from '../../../styles/palettes/default.palette'

export const UnregisteredUsernameContextMenu: FC = () => {
const title = 'Unregistered username'
const usernameTakenContextMenu = useContextMenu<UnregisteredUsernameArgs>(MenuName.UnregisteredUsername)

return (
<ContextMenu title={title} items={[]} {...usernameTakenContextMenu}>
<View style={{ padding: 20, alignItems: 'center' }}>
<View
style={{ padding: 20, alignItems: 'center', borderTopWidth: 1, borderColor: defaultPalette.background.gray06 }}
>
<Typography fontSize={14} style={{ textAlign: 'center', lineHeight: 20 }}>
The username{' '}
<Typography fontSize={14} fontWeight={'bold'}>
Expand Down

0 comments on commit a212de3

Please sign in to comment.