Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { Button, cn } from '@ui';
import type { JSX } from 'solid-js';
export function InputActionButton(props: {
label: string;
onClick?: (event: MouseEvent) => void;
active?: boolean;
disabled?: boolean;
class?: string;
children: JSX.Element;
}) {
return (
<Button
tooltip={props.label}
aria-label={props.label}
disabled={props.disabled}
variant={props.active ? 'primary' : 'ghost'}
size="icon-md"
class={cn('touch:size-6', props.class)}
onPointerDown={(event: PointerEvent) => event.preventDefault()}
onClick={(event) => props.onClick?.(event)}
>
{props.children}
</Button>
);
}