meliorence / meliorence/react-native-snap-carousel

Inserting Custom Components Inside of <Pagination />

Open
#631 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Is this a bug report, a feature request, or a question?

question

For the pagination component, is there a way for me to pass additional custom components inside to render and display on all instances of it? I want to create a button that a user can click on to navigate to a different screen and didn't know how to do this. I want to create something like this, where there is a button right underneath the pagination icons.
image

I have tried putting a button on each slide of the carousel to do this, and although it works, it looks a little messy having repeated text appearing/disappearing.

2019-11-29 20 41 23

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reading the pagination component API and existing usage examples to determine whether custom content is supported inside or beneath the pagination controls. Done would mean either identifying the supported composition approach or defining the component and documentation changes needed to enable it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.