mirror of https://github.com/rancher/dashboard.git
Revert change to RcButton types
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
This commit is contained in:
parent
99bb47b1ea
commit
6d9b21a8a1
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue