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

QR Code Reader

PreviousNotificationNextSelect

Last updated 6 years ago

Preview

Code sample

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

<QRCode
  onSuccess={(code) => {}}
  cameraSide='front'
/>

Props

Name

Type

Description

onSuccess

function

called with detected QRCode on successful read

cameraSide

string

Use front or back to toggle used camera

QR Code Reader in IOS simulator (no camera picture)