From 2bcead7bfc6a0a3c1630e3ea7991fa005d9b81d4 Mon Sep 17 00:00:00 2001 From: Kai Date: Mon, 14 Oct 2019 23:20:01 +0200 Subject: [PATCH] Fix for aria-label ToggleSmall of carbon-components-react (#39011) * Change ariaLabel of ToggleSmall Carbon react component from to Kebab Case to be consistent with implementation https://github.com/carbon-design-system/carbon/blob/master/packages/react/src/components/ToggleSmall/ToggleSmall.js#L121 * Change ariaLabel of ToggleSmall Carbon react component from lower case aria-label --- .../lib/components/ToggleSmall/ToggleSmall.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts b/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts index eaf9d71968..cfb2704eca 100644 --- a/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts +++ b/types/carbon-components-react/lib/components/ToggleSmall/ToggleSmall.d.ts @@ -6,7 +6,7 @@ interface InheritedProps extends Omit, RequiresIdProps { - ariaLabel: NonNullable, + ["aria-label"]: NonNullable, } export interface ToggleSmallProps extends InheritedProps {