xcarpentier/rn-tourguide

How can i hide labels?

ikramferhat opened this issue · 2 comments

How can i hide labels?

Hi, you can use your own customized tooltip. This library allow you to do that. For instance

`const TooltipComponent = ({
isFirstStep,
isLastStep,
handleNext,
handlePrev,
handleStop,
currentStep,
}) => (

This is our first tutorial!

);

<TourGuideProvider
{...{
tooltipComponent: TooltipComponent,
}}

...`

Or you can pass props as below to TourGuideProvider component. But I think this is not a good solution. Maybe it will help your situation.

<TourGuideProvider
{...{
labels: {
previous: ' ',
next: ' ',
skip: ' ',
finish: ' ',
},
}}
>