File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ export const ListDetails: React.FC<ListDetailsProps> = ({
3535 < div className = "list-details__menu" >
3636 { menu && (
3737 < Dropdown
38- arialabelledby = { id }
3938 ariaLabel = { menu . ariaLabel }
4039 list = { menu . list }
4140 arrowIcon = "chevron"
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export type DropdownProps = {
1111 ariaLabel : string ;
1212 arrowIcon : "triangles" | "chevron" ;
1313 classNames ?: string ;
14- arialabelledby ?: string ;
1514 innerClassNames ?: { select ?: string ; option ?: string ; arrowWrapper ?: string } ;
1615} ;
1716
@@ -21,7 +20,6 @@ export const Dropdown: React.FC<DropdownProps> = ({
2120 list,
2221 classNames,
2322 innerClassNames,
24- arialabelledby,
2523} ) => {
2624 const Icon = ( ) => {
2725 if ( arrowIcon === "triangles" ) {
@@ -63,11 +61,7 @@ export const Dropdown: React.FC<DropdownProps> = ({
6361
6462 return (
6563 < div className = { classes . root } >
66- < select
67- aria-labelledby = { arialabelledby }
68- className = { classes . select }
69- aria-label = { ariaLabel }
70- >
64+ < select className = { classes . select } aria-label = { ariaLabel } >
7165 { list . map ( ( { title, disabled } , index ) => (
7266 < option
7367 key = { index }
You can’t perform that action at this time.
0 commit comments