<Rating
iconsCount={5}
size={25}
ratingValue={0}
transition
allowFraction
readonly
initialValue={element}
fillColor="#D32748"
/>
element is a tempory value just to see it working but it ranges from anywhere between 1 and 4, but it always loads as 5 out of 10 stars no matter what for a split second which messes up the layout with the increased height then quickly fixes itself. Any ideas what im doing wrong?