Skip to content

Commit

Permalink
remove className prop from Button
Browse files Browse the repository at this point in the history
  • Loading branch information
farooqkz committed Jan 10, 2024
1 parent 1629977 commit 84399b0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/renderer/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ type ButtonProps = React.PropsWithChildren<{
id?: string
'aria-label'?: string
disabled?: boolean
className?: any
}>

export default function Button({
children,
className,
disabled,
type,
round,
Expand All @@ -28,10 +26,9 @@ export default function Button({
disabled={!!disabled}
role='button'
className={classNames(
round ? styles.deltaButtonRound : styles.deltaButton,
styles.bold,
styles.deltaButton,
round && styles.round,
type && styles[type],
className
)}
onClick={onClick}
aria-label={props['aria-label']}
Expand Down

0 comments on commit 84399b0

Please sign in to comment.