diff --git a/.changeset/fair-numbers-stare.md b/.changeset/fair-numbers-stare.md new file mode 100644 index 00000000000..8792029929c --- /dev/null +++ b/.changeset/fair-numbers-stare.md @@ -0,0 +1,5 @@ +--- +"@kaizen/components": patch +--- + +fixed camel case on RadioGroup `data-testId` diff --git a/packages/components/src/Radio/RadioGroup/RadioGroup.tsx b/packages/components/src/Radio/RadioGroup/RadioGroup.tsx index 994dc906de8..f34e685cdb7 100644 --- a/packages/components/src/Radio/RadioGroup/RadioGroup.tsx +++ b/packages/components/src/Radio/RadioGroup/RadioGroup.tsx @@ -12,7 +12,7 @@ export type RadioGroupProps = OverrideClassName< labelId?: string noBottomMargin?: boolean reversed?: boolean - "data-testId"?: string + "data-testid"?: string } export const RadioGroup = ({ @@ -22,14 +22,14 @@ export const RadioGroup = ({ noBottomMargin = false, reversed = false, classNameOverride, - "data-testId": dataTestId, + "data-testid": dataTestId, ...restProps }: RadioGroupProps): JSX.Element => { const labelId = propsLabelId ?? useId() return (