ืกืžื ื™ืื—ื“ืฉ

ืกืžืŸ ื‘ืชื•ืš ื‘ืœื•ืง

ืžืขืœ ื‘ืœื•ืง ื ื‘ื—ืจ ื”ืกืžืŸ ื”ืจื’ื™ืœ ืžืชื—ืœืฃ ื‘ื—ืฅ ืžืฉืœืš ืื• ื‘ื›ืœ ืืœืžื ื˜. ืžื•ืคื™ืข ื•ื ืขืœื ื‘ืื ื™ืžืฆื™ื”.

ื”ืชืืžื”

fillColor
glowColor
strokeColor

ืžื‘ื•ืกืก ืขืœ Pointer (MIT ืจื™ืฉื™ื•ืŸ) ยท ืชื ืื™ ืฉื™ืžื•ืฉ

ืžืืคื™ื™ื ื™ื

5 ืžืืคื™ื™ื ื™ื
ืžืืคื™ื™ืŸืกื•ื’ื‘ืจื™ืจืช ืžื—ื“ืœืชื™ืื•ืจ
childrenReactNodeโ€”ืืœืžื ื˜ ืžืฉืœืš ื‘ืžืงื•ื ื”ื—ืฅ.
classNamestringโ€”ืžื—ืœืงื•ืช ืœื—ืฅ ื‘ืจื™ืจืช ื”ืžื—ื“ืœ.
fillColorstring"#000000"ื”ืžื™ืœื•ื™ ืฉืœ ื”ื—ืฅ.
glowColorstring"rgba(255,255,255,0.25)"ื–ื•ื”ืจ ืจืš ืกื‘ื™ื‘ ื”ื—ืฅ.
strokeColorstring"#ffffff"ืงื• ื”ืžืชืืจ ืฉืœ ื”ื—ืฅ. ืœื‘ืŸ, ื›ื“ื™ ืฉื”ื—ืฅ ื™ื™ืจืื” ืขืœ ื›ืœ ืจืงืข.

ืชืœื•ื™ื•ืช

3 ื—ื‘ื™ืœื•ืช ื ื“ืจืฉื•ืช

npm install motion clsx tailwind-merge

ืจื›ื™ื‘ื™ื ื“ื•ืžื™ื

ืœื›ืœ ื”ืจื›ื™ื‘ื™ื