import { jsx as _jsx } from "react/jsx-runtime";
import React from "react";
export function SendAction({ tokens, disabled, children = "Send", style, ...props }) {
    return (_jsx("button", { type: "button", disabled: disabled, style: {
            borderRadius: tokens.radius.actionButton,
            background: disabled
                ? tokens.color.actionSendDisabled
                : tokens.color.actionSendDefault,
            color: tokens.color.actionSendTextOnPrimary,
            padding: "8px 14px",
            fontSize: tokens.typography.actionLabel.size,
            lineHeight: `${tokens.typography.actionLabel.lineHeight}px`,
            fontWeight: tokens.typography.actionLabel.weight,
            border: 0,
            cursor: disabled ? "not-allowed" : "pointer",
            ...style,
        }, ...props, children: children }));
}
