From fa514ee25e27c5f4b44d040be43b579cc636333f Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Wed, 2 Apr 2025 12:59:11 +0100 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Charles de Dreuille --- .changeset/whole-papers-retire.md | 2 +- packages/canon/src/components/TextField/TextField.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.changeset/whole-papers-retire.md b/.changeset/whole-papers-retire.md index 1dc392317c..fed9ff7aa3 100644 --- a/.changeset/whole-papers-retire.md +++ b/.changeset/whole-papers-retire.md @@ -2,4 +2,4 @@ '@backstage/canon': minor --- -Added a new TextField component to replace the Field and Input component. After feedback, it became clear that we needed to build a more opinionated version to avoid any problem in the future. +**BREAKING**: Added a new TextField component to replace the Field and Input component. After feedback, it became clear that we needed to build a more opinionated version to avoid any problem in the future. diff --git a/packages/canon/src/components/TextField/TextField.tsx b/packages/canon/src/components/TextField/TextField.tsx index 48db95c59e..1f1f48260a 100644 --- a/packages/canon/src/components/TextField/TextField.tsx +++ b/packages/canon/src/components/TextField/TextField.tsx @@ -48,7 +48,6 @@ export const TextField = forwardRef( className={clsx( 'canon-Input', `canon-Input--size-${responsiveSize}`, - className, )} {...rest} />