diff --git a/front/src/modules/ui/button/components/LightIconButton.tsx b/front/src/modules/ui/button/components/LightIconButton.tsx index 3f5e10c1b..e08569180 100644 --- a/front/src/modules/ui/button/components/LightIconButton.tsx +++ b/front/src/modules/ui/button/components/LightIconButton.tsx @@ -9,6 +9,7 @@ export type LightIconButtonSize = 'small' | 'medium'; export type LightIconButtonProps = { className?: string; + testId?: string; Icon?: IconComponent; title?: string; size?: LightIconButtonSize; @@ -81,6 +82,7 @@ const StyledButton = styled.button< export const LightIconButton = ({ 'aria-label': ariaLabel, className, + testId, Icon, active = false, size = 'small', @@ -92,6 +94,7 @@ export const LightIconButton = ({ const theme = useTheme(); return ( {StartIcon && ( {children} {EndIcon && (