From 6d9b21a8a14cdc0fdbeb323bec5b1a51fddaa754 Mon Sep 17 00:00:00 2001 From: Phillip Rak Date: Sun, 26 Jan 2025 12:35:48 -0700 Subject: [PATCH] Revert change to RcButton types Signed-off-by: Phillip Rak --- pkg/rancher-components/src/components/RcButton/types.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/rancher-components/src/components/RcButton/types.ts b/pkg/rancher-components/src/components/RcButton/types.ts index d4f8eca456..3f9ca4ea6a 100644 --- a/pkg/rancher-components/src/components/RcButton/types.ts +++ b/pkg/rancher-components/src/components/RcButton/types.ts @@ -1,6 +1,8 @@ -import { RcButton } from "@components/RcButton"; - -export type RcButtonType = InstanceType +// TODO: 13211 Investigate why `InstanceType` fails prod builds +// export type RcButtonType = InstanceType +export type RcButtonType = { + focus: () => void; +} export type ButtonRoleProps = { primary?: boolean;