FormidableLabs / FormidableLabs/nuka-carousel

Map render a unique slide in the carousel

Open
#1,062 0 comments 1 reaction 0 assignees View on GitHub
Needs: Repro
Dominant language
TypeScript
Stars
3.1k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### Code Sandbox link

_No response_

### Bug report

```markdown
Hi,

I am struggling building up my carousel. It looks like when using a map to create React Component in the carousel they just appear in on slide.

I am sure I am doing something wrong so really any guidance would be very welcome.

export const AnnounceCard = ({language, token}: AnnounceCardProps) => {
...
return


{announces.map((announce, index) => (


ANOTHER {announce.title}
ANOTHER {announce.details}
))}



}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.