Revert change to RcButton types

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
Phillip Rak 2025-01-26 12:35:48 -07:00
parent 99bb47b1ea
commit 6d9b21a8a1
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
import { RcButton } from "@components/RcButton";
export type RcButtonType = InstanceType<typeof RcButton>
// TODO: 13211 Investigate why `InstanceType<typeof RcButton>` fails prod builds
// export type RcButtonType = InstanceType<typeof RcButton>
export type RcButtonType = {
focus: () => void;
}
export type ButtonRoleProps = {
primary?: boolean;