leecade / leecade/react-native-swiper

react-native-progress support

Open
#309 0 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

Does the loadMinimalLoader can be used with the react-native-progress?
Maybe I'm doing something wrong:

import Progress from 'react-native-progress/CircleSnail';
//...
renderImages() {

    if(this.props.place.images.length <= 0) return

    return (
      <Swiper style={styles.wrapper} loadMinimal={true} loadMinimalLoader={<Progress />} loadMinimalSize={1} showsButtons={false} height={200}>
          {this.props.place.images.map((image, id) => {
            if(image !== "") {
              return (
                <View key={id} style={styles.slide1}>
                  <Image source={{uri: image}} style={{width: 400, height: 200}}/>
                </View>
              )
            }
          })}
      </Swiper>
    )
  }
//...

Any idea guys?

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the renderImages example with loadMinimalLoader and react-native-progress/CircleSnail. Check how react-native-swiper consumes loadMinimalLoader and document whether this component is supported; done means a clear compatibility answer or a confirmed fix with a reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.