reactnative-visual
  • @dormakaba/digital-reactnative-visual
  • Getting started
  • Changelog
  • Components
    • Avatar
    • Button
    • Card
    • Checkbox / Radio
    • Icons
    • IconButton
    • Image Cropper
    • Page, Row, Col
    • List, ListItem
    • Modal
    • Notification
    • QR Code Reader
    • Select
    • Snack
    • Swipeable
    • Textfield
    • Typography: H1, P, Label, Hint, Text
  • Page Templates
    • Animated Login View
    • Login Area View
    • Animated Panel List
    • Animated Avatar View
  • Misc
    • Colors
    • VisualProvider
  • Show Cases
    • exivo
Powered by GitBook
On this page
  • Preview
  • Code sample
  • Props
  1. Components

Modal

PreviousList, ListItemNextNotification

Last updated 6 years ago

Preview

Code sample

import { Modal } from '@dormakaba/digital-reactnative-visual';

<Modal open={open}>
  <Card>
    <Text>This is a modal</Text>
    <Button primary onPress={() => this.setState({ open: false })}>close</Button>
  </Card>
</Modal>

Props

Name

Type

Description

open

boolean

set true to show the modal content

*

all the props of get passed down

react-native modal