React-joyride: Way to disable the display of close button?

Created on 3 Oct 2017  路  4Comments  路  Source: gilbarbara/react-joyride

Is there a way I can disable the close button on the tooltip? I have tried to edit the scss file and tried to set the opacity to 0 in the props, but it does not seem to be working.

image

Most helpful comment

@dhaneshKatre you can use this to disable it:

<Joyride
styles={
            {
              buttonClose: {
                display: 'none',
              },
            }
          }

All 4 comments

Apologies, just fixed it through the props.

@SamSunani Which prop did you change in order to do that ?

@dhaneshKatre you can use this to disable it:

<Joyride
styles={
            {
              buttonClose: {
                display: 'none',
              },
            }
          }

Oh, cool! Thanks a lot! @GlisboaDev

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sarates picture sarates  路  6Comments

shri3k picture shri3k  路  5Comments

leantide picture leantide  路  5Comments

alessapm picture alessapm  路  5Comments

captainkovalsky picture captainkovalsky  路  6Comments