LikeButton

LikeButton UI display (experimental status).

<LikeButton scale={0.5} />

Example

Basic usage of LikeButton component.

API

PropertiesDescriptionTypeDefault
scaleThe scale number, optionalnumber1
callbackThe callback function, optional() => void-
delayThe delay to trigger callback, unit msnumber500
heartColorThe heart colorstring#F66
lineColorsThe line colorsstring[]["#F66", "#66F", "#F90", "#09F", "#9C3", "#3C9"]
ON THIS PAGE