Skip to content

Commit

Permalink
chore: export additional interfaces (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite authored Jul 16, 2024
1 parent 613db68 commit 368a10e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/actions/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export interface ButtonProps {
className?: string
}

// internal extended interface
interface ButtonPropsWithTarget extends ButtonProps {
// extended interface for Link buttons
export interface ButtonPropsWithTarget extends ButtonProps {
target?: string
}

Expand Down
2 changes: 1 addition & 1 deletion src/blocks/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "./Toast.scss"
import useTimeout from "../hooks/useTimeout"
import usePortal from "../hooks/usePortal"

interface ToastProps extends Omit<CommonMessageProps, "role" | "closeable"> {
export interface ToastProps extends Omit<CommonMessageProps, "role" | "closeable"> {
hideTimeout?: number
}

Expand Down

0 comments on commit 368a10e

Please sign in to comment.