Skip to content

Commit

Permalink
Move RcButton types to separate file
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
  • Loading branch information
rak-phillip committed Jan 9, 2025
1 parent 2951f67 commit 939287d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rancher-components/src/components/RcButton/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default as RcButton } from './RcButton.vue';
export type { RcButtonType } from './RcButton.vue';
export { RcButtonType } from './types';
3 changes: 3 additions & 0 deletions pkg/rancher-components/src/components/RcButton/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export type RcButtonType = {
focus: () => void;
}

0 comments on commit 939287d

Please sign in to comment.