Skip to content

Commit

Permalink
fix: modify type for disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
kaydwithers committed Oct 5, 2023
1 parent fdcf0f8 commit 686e111
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react"
import React, { ButtonHTMLAttributes } from "react"
import classnames from "classnames"
import { Icon } from "@kaizen/component-library"
import chevronDown from "@kaizen/component-library/icons/chevron-down.icon.svg"
Expand All @@ -10,8 +10,7 @@ import styles from "./TriggerButtonBase.module.scss"
export type TriggerButtonBaseProps = {
children: React.ReactNode
classNameOverride?: string // TODO: migrate it to use OverrideClassName<T> and omit the props controlled by React-Aria
disabled?: boolean
}
} & ButtonHTMLAttributes<HTMLButtonElement>

export const TriggerButtonBase = ({
children,
Expand Down

0 comments on commit 686e111

Please sign in to comment.