This commit is contained in:
Jade (Rose) Rowland 2025-09-07 22:21:03 -04:00
parent c57f5bb429
commit e7e80bfd83
5 changed files with 58 additions and 24 deletions

View file

@ -0,0 +1,10 @@
import cx from '@src/cx.mjs';
export function ActionButton({ children, label, labelIsHidden, className, ...buttonProps }) {
return (
<button className={cx('hover:opacity-50 text-nowrap w-fit', className)} title={label} {...buttonProps}>
{labelIsHidden !== true && label}
{children}
</button>
);
}