iOS Touch ID

ruucm .

Properties

show

show & hide Touch ID Modal

overlay

Overlay colors

appName

App Name that appears in the Modal

text

Descriptions that appears in the Modal

Examples

An Example of showing & hiding modal using Override

import { Data, Override } from 'framer'

const data = Data({ show: false })

export const sleep = sec => {
  return new Promise(resolve => setTimeout(resolve, sec * 1000))
}

export const ShowModalButton: Override = () => {
  return {
    async onTap() {
      data.show = true
      await sleep(1)
      data.show = false
    },
  }
}

export const MyModal: Override = () => {
  return {
    show: data.show,
    visible: data.show,
  }
}

Info

  • Version: 1.5.0
  • Updated: 4 months ago
  • License: MIT

Share

By using our website, you agree to the use of cookies as described in our  Privacy Policy —
I Agree