Speeding Diamond: Add preview
This commit is contained in:
parent
9b9706bda7
commit
6e69765a51
BIN
src/assets/diamond.png
Normal file
BIN
src/assets/diamond.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
@ -10,6 +10,8 @@ import AnimatedIconWithPreview from '../../common/AnimatedIconWithPreview.tsx';
|
|||||||
|
|
||||||
import styles from './SpeedingDiamond.module.scss';
|
import styles from './SpeedingDiamond.module.scss';
|
||||||
|
|
||||||
|
import diamondPreviewUrl from '../../../assets/diamond.png';
|
||||||
|
|
||||||
interface OwnProps {
|
interface OwnProps {
|
||||||
onMouseMove: NoneToVoidFunction;
|
onMouseMove: NoneToVoidFunction;
|
||||||
}
|
}
|
||||||
@ -65,6 +67,7 @@ function SpeedingDiamond({ onMouseMove }: OwnProps) {
|
|||||||
speed={speed}
|
speed={speed}
|
||||||
size={130}
|
size={130}
|
||||||
tgsUrl={LOCAL_TGS_URLS.Diamond}
|
tgsUrl={LOCAL_TGS_URLS.Diamond}
|
||||||
|
previewUrl={diamondPreviewUrl}
|
||||||
nonInteractive
|
nonInteractive
|
||||||
noLoop={false}
|
noLoop={false}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user