Skip to content

Commit

Permalink
Merge branch '34-buttons-styling-update' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
omelchenkoy committed Feb 18, 2025
2 parents 202eb12 + a558e54 commit b9bdcb4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/ui/BootstrapIconButton/BootstrapIconButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ import React from 'react';
import Button from 'react-bootstrap/Button';
import './BootstrapIconButton.scss';

const BootstrapIconButton = ({ icon, onClick, children, ...props }) => {
const BootstrapIconButton = ({
icon,
onClick,
children,
className,
...props
}) => {
return (
<Button className="zz-custom" onClick={onClick} {...props}>
<Button className={`zz-custom ${className}`} onClick={onClick} {...props}>
{icon}
{children}
</Button>
Expand Down

0 comments on commit b9bdcb4

Please sign in to comment.