react-custom-roulette icon indicating copy to clipboard operation
react-custom-roulette copied to clipboard

Roulette pointer image

Open KirillVasilev opened this issue 3 years ago • 1 comments

It's a really cool thing. Thanks to the authors. How can I change the roulette wheel picture?

image

KirillVasilev avatar May 26 '21 10:05 KirillVasilev

@KirillVasilev I had same issue and worked around, you can try with this code on css img[alt~="roulette-static"] { position: absolute; z-index: 5; width: 10%; right: 35px; top: 35px; content: url("http://imgur.com/SZ8Cm.jpg"); } here is result

image

Woverlin avatar Jun 28 '21 13:06 Woverlin

@Woverlin thank you for you solution, glad you were able to solve it using CSS.

In version 1.3.2 we've added a pointerProps prop to customize the wheel pointer with props instead.

interface PointerProps {
  src?: string; // Optional
  style?: React.CSSProperties; // Optional
}

luchozamora1 avatar Mar 13 '23 18:03 luchozamora1

Hi, I want to shape the outerBorder, how can I do it? for example image

unaldutlu avatar Jul 04 '23 09:07 unaldutlu