Skip to content

Commit

Permalink
feat: add title attribute to buttons in BarMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin-chaurasiya committed Jun 17, 2024
1 parent 063abb0 commit 2ebfe9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/components/Menu/BarMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ const BarMenu: FC<BarMenuProps> = ({ editor }) => {
{format.map((item) => {
return (
<button
title={item.name}
disabled={item?.disabled}
key={item.name}
className={`rounded-md ${
Expand Down

0 comments on commit 2ebfe9f

Please sign in to comment.