mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 09:03:12 +08:00
feat: add aria-disabled to play button
This commit is contained in:
@@ -28,6 +28,7 @@ export function PlayButton() {
|
||||
|
||||
return (
|
||||
<motion.button
|
||||
aria-disabled={noSelected}
|
||||
className={cn(styles.playButton, noSelected && styles.disabled)}
|
||||
layout
|
||||
onClick={handleClick}
|
||||
|
||||
Reference in New Issue
Block a user