Skip to content

How to add a link to a slide #364

Answered by diobane
breiko83 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm using the drag option too, but I'm not having this issue...

I'm using like this:

<Slider className="slider-class">
  {props.boxes.map((box, idx) => {
      return (
          <Slide className="slide-class" index={idx} key={idx} >
              <Link to={checkType(box.type, box.id)} >
                  <ProductBox key={"product-box-" + idx} data={box} />
              </Link>
          </Slide>
      )
  })}
</Slider>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@breiko83
Comment options

Answer selected by Conor-Hinchee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #360 on May 17, 2021 13:43.