feat: mobile app package (#1075)
This commit is contained in:
17
packages/mobile/src/Components/BlockingModal.tsx
Normal file
17
packages/mobile/src/Components/BlockingModal.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ModalStackNavigationProp } from '@Root/ModalStack'
|
||||
import { MODAL_BLOCKING_ALERT } from '@Root/Screens/screens'
|
||||
import React from 'react'
|
||||
import { Container, Content, Subtitle, Title } from './BlockingModal.styled'
|
||||
|
||||
type Props = ModalStackNavigationProp<typeof MODAL_BLOCKING_ALERT>
|
||||
|
||||
export const BlockingModal = ({ route: { params } }: Props) => {
|
||||
return (
|
||||
<Container>
|
||||
<Content>
|
||||
{params.title && <Title>{params.title}</Title>}
|
||||
<Subtitle>{params.text}</Subtitle>
|
||||
</Content>
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user