akiran / akiran/react-slick

Prop "slide" seems not to work

Ouverte
#2,388 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
11.9k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hey,
I need to change the slide container from "div" to "ul" and the slides from "div" to "li" for accessibility problem, I saw that there is a prop called "slide" from the documentation with this description "Slide container type": it's a string and the default value is "div".

But I cannot get it to work, here's a sandbox:
https://codesandbox.io/p/sandbox/react-slick-playground-forked-fz5ljj?file=%2Findex.js%3A12%2C17

am I missing something?
thx

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.