Skip to content

Commit e7366fb

Browse files
author
Filipe Marins
authored
feat(fuselage): add aria-disabled prop to Option component (#942)
* chore: add aria disabled prop * chore: convert prop to string
1 parent b1292b5 commit e7366fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/fuselage/src/components/Option/Option.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const Option = memo(
4949
id={id}
5050
ref={ref}
5151
aria-selected={selected}
52+
aria-disabled={String(disabled)}
5253
title={title}
5354
onClick={(e: React.MouseEvent<HTMLDivElement>) => {
5455
if (disabled) {

0 commit comments

Comments
 (0)