-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
It's good only if I call setWaterHeightfunction in ref callback.
<Wave ref={(wave) => wave && wave.setWaterHeight(150 * score / scoreTotal)}
style={{ width: 150, aspectRatio: 1, overflow: 'hidden', backgroundColor: '#FEB25780', borderRadius: 75 }}
H={150 * score / scoreTotal} animated={true} waveParams={[
{ A: 10, T: 180, fill: '#FEB25780' },
{ A: 10, T: 180, fill: '#FEB25780' },
{ A: 10, T: 180, fill: '#FEB25780' },
]}
/>
soheils2
Metadata
Metadata
Assignees
Labels
No labels