Skip to content

Commit 3e067e5

Browse files
author
Kubit
committed
Fix eslint errors
1 parent c402573 commit 3e067e5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/components/carousel/carouselStandAlone.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ const CarouselStandAloneComponent = (
8080
<RootStyled
8181
ref={ref}
8282
allowModifySliceWidth={allowModifySliceWidth}
83+
aria-label={props['aria-label']}
8384
aria-labelledby={props['aria-labelledby']}
8485
aria-roledescription="carousel"
85-
aria-label={props['aria-label']}
8686
data-testid={`${dataTestId}Wrapper`}
8787
styles={styles}
8888
onKeyDown={onKeyDown}

src/components/carousel/types/carousel.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ export type PageControlAutomateConfigType = Omit<
2323
mediaProgressBar: CarouselMediaProgressBarType;
2424
};
2525

26-
type CarouselAriaAttributes = Pick<React.AriaAttributes, 'aria-labelledby' | 'aria-live' | 'aria-label'>;
26+
type CarouselAriaAttributes = Pick<
27+
React.AriaAttributes,
28+
'aria-labelledby' | 'aria-live' | 'aria-label'
29+
>;
2730

2831
export interface ICarouselStandAlone extends CarouselAriaAttributes {
2932
styles: CarouselPropsStylesType;

0 commit comments

Comments
 (0)