working
This commit is contained in:
parent
c57f5bb429
commit
e7e80bfd83
5 changed files with 58 additions and 24 deletions
10
website/src/repl/components/button/action-button.jsx
Normal file
10
website/src/repl/components/button/action-button.jsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue