"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BannerActionButton = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const Button_1 = require("../../Button");
const useViewportType_1 = require("../../useViewportType");
const BannerActionButton = ({ children, ...restProps }) => {
    const { isMobile } = (0, useViewportType_1.useViewportType)();
    return ((0, jsx_runtime_1.jsx)(Button_1.Button, { ...restProps, fullWidth: isMobile, size: "large", children: children }));
};
exports.BannerActionButton = BannerActionButton;
