Coder Social home page Coder Social logo

Comments (12)

rschneid0 avatar rschneid0 commented on June 17, 2024 2

rewards prop expects a list of strings. try let rewards = ["1", "2"] to see what I mean

from react-native-wheel-of-fortune.

eftalyurtseven avatar eftalyurtseven commented on June 17, 2024

Can you share your code please?
you can use getWinner callback property like this
getWinner={(value, index) => console.log("Winner Value: " + value + " , Winner Index: " + index)}
More details see /Example folder

from react-native-wheel-of-fortune.

masineedi avatar masineedi commented on June 17, 2024

inside the wheel no text

from react-native-wheel-of-fortune.

masineedi avatar masineedi commented on June 17, 2024

this is my JSON how can connect this
"luckycolor": [
{
"id": 1,
"colorname": "Colour: Cru00e8me.",
"colorcode": "#ffffff"
},
{
"id": 2,
"colorname": "Colour: Bergandi Red.",
"colorcode": "#ffffff"
},
{
"id": 3,
"colorname": "Colour: Light grey.",
"colorcode": "#ffffff"
},
]

from react-native-wheel-of-fortune.

eftalyurtseven avatar eftalyurtseven commented on June 17, 2024

You can not connect this format.
You should create an array for rewards. Please detailed review Readme.md and /Example folder.

from react-native-wheel-of-fortune.

masineedi avatar masineedi commented on June 17, 2024

Is it possible to Display text inside the wheel parts

from react-native-wheel-of-fortune.

masineedi avatar masineedi commented on June 17, 2024

Iam unable to see the inside wheel pieces

from react-native-wheel-of-fortune.

tmdeginal avatar tmdeginal commented on June 17, 2024

This issue was not solved

from react-native-wheel-of-fortune.

tmdeginal avatar tmdeginal commented on June 17, 2024

Iam adding text in reawards it is taking latter spacing

from react-native-wheel-of-fortune.

tmdeginal avatar tmdeginal commented on June 17, 2024

Now it is working fine

from react-native-wheel-of-fortune.

sreenu74 avatar sreenu74 commented on June 17, 2024

We can add text and it is displaying on each slice of the wheel properly, but text aligned vertically not horizontally.
How do we align text horizontally?

Thanks.

from react-native-wheel-of-fortune.

burakozturk16 avatar burakozturk16 commented on June 17, 2024

The solution is which I find; Change iterated value from in _textRender function;

before: length: value.length
after : length: value.toString().length

from react-native-wheel-of-fortune.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.