'use strict';

var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
var React = require('react');
var headline_module = require('./headline.module.css.cjs');

const headline = index.cva(headline_module.default.headline, {
    variants: {
        size: {
            small: headline_module.default["headline-small"],
            medium: headline_module.default["headline-medium"],
            large: headline_module.default["headline-large"],
        },
        align: {
            left: headline_module.default["headline-align-left"],
            center: headline_module.default["headline-align-center"],
            right: headline_module.default["headline-align-right"],
        },
        truncate: {
            true: headline_module.default["headline-truncate"],
        }
    },
    defaultVariants: {
        size: "small",
        align: "left",
        truncate: false,
    },
});
const Headline = React.forwardRef(({ className, size, align, truncate, as: Component = "h2", children, ...props }, ref) => {
    return (jsxRuntime.jsxRuntimeExports.jsx(Component, { ref: ref, className: headline({ size, align, truncate, className }), ...props, children: children }));
});
Headline.displayName = "Headline";

exports.Headline = Headline;
//# sourceMappingURL=headline.cjs.map
