()
| 1 | const ShineButton = () => { |
| 2 | return ( |
| 3 | <button className="group/button relative inline-flex items-center justify-center overflow-hidden rounded-md bg-red-500 px-4 py-1.5 text-xs font-normal text-white transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-lg hover:shadow-red-500/30"> |
| 4 | <span className="text-sm">SyntaxUI</span> |
| 5 | <div className="absolute inset-0 flex h-full w-full justify-center [transform:skew(-13deg)_translateX(-100%)] group-hover/button:duration-1000 group-hover/button:[transform:skew(-13deg)_translateX(100%)]"> |
| 6 | <div className="relative h-full w-8 bg-white/20" /> |
| 7 | </div> |
| 8 | </button> |
| 9 | ) |
| 10 | } |
| 11 | |
| 12 | export default ShineButton |
nothing calls this directly
no outgoing calls
no test coverage detected