mirror of
https://github.com/remvze/moodist.git
synced 2025-12-18 01:14:17 +00:00
feat: add aria-disabled to play button
This commit is contained in:
parent
2c443d3f33
commit
f390f38016
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ export function PlayButton() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<motion.button
|
<motion.button
|
||||||
|
aria-disabled={noSelected}
|
||||||
className={cn(styles.playButton, noSelected && styles.disabled)}
|
className={cn(styles.playButton, noSelected && styles.disabled)}
|
||||||
layout
|
layout
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue