Skip to content

Commit

Permalink
Merge pull request #2 from srirampalraj/issue/className-concatenation
Browse files Browse the repository at this point in the history
Fix: ClassName
  • Loading branch information
buraksakalli authored Sep 12, 2024
2 parents 88d78bc + 495b8a1 commit a95bc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_components/Keycap/Keycap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Keycap: FC<KbdProps> = ({ activeKey, children, ...props }) => {

const className = isKeyDown
? `${styles.key} ${styles.keyPressed}`
: styles.key;
: styles.key + ` ${props.className}`;

return (
<kbd {...props} className={className}>
Expand Down

0 comments on commit a95bc9b

Please sign in to comment.