about summary refs log tree commit diff
path: root/src/tours/Debug.tsx
blob: ba643a802bd49f1f7529566b0ee0f1e9a993964d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import React from 'react'
import {useTourGuideController} from 'rn-tourguide'

import {Button} from '#/components/Button'
import {Text} from '#/components/Typography'

export function TourDebugButton() {
  const {start} = useTourGuideController('home')
  return (
    <Button
      label="Start tour"
      onPress={() => {
        start()
      }}>
      {() => <Text>t</Text>}
    </Button>
  )
}