feat: latest articles widget
This commit is contained in:
@ -12,7 +12,12 @@ interface IconButtonProps {
|
||||
|
||||
const IconButton = ({ onClick, icon, children, className }: IconButtonProps) => {
|
||||
return (
|
||||
<button className={classNames("icon", className)} type="button" onClick={onClick}>
|
||||
<button
|
||||
className={classNames(
|
||||
"flex items-center justify-center aspect-square w-10 h-10 !p-0 !m-0 bg-gray-dark text-white",
|
||||
className,
|
||||
)}
|
||||
onClick={onClick}>
|
||||
<Icon {...icon} />
|
||||
{children}
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user