8zbhzr21j: Restyle post cards, comments and the own-post menu to the redesign spec
This commit is contained in:
@@ -227,8 +227,8 @@ export interface IconButtonProps extends NativeButton {
|
||||
export function IconButton({ label, icon, shape = "square", size = "md", className, type = "button", ...rest }: IconButtonProps) {
|
||||
return (
|
||||
<button
|
||||
{...rest}
|
||||
type={type}
|
||||
{...rest}
|
||||
aria-label={label}
|
||||
title={rest.title ?? label}
|
||||
className={cx("btn-gloss", shape === "round" && "btn-gloss-round", size === "sm" && "btn-gloss-sm", className)}
|
||||
|
||||
Reference in New Issue
Block a user