'use strict';

var clsx = require('clsx');
var jsxRuntime = require('react/jsx-runtime');
var typography = require('../common/propsValues/typography.js');

function Display({
  as: Heading = 'h1',
  type = typography.Typography.DISPLAY_LARGE,
  children,
  className,
  id
}) {
  return /*#__PURE__*/jsxRuntime.jsx(Heading, {
    id: id,
    className: clsx.clsx('np-display', `np-text-${type}`, 'text-primary', className),
    children: children
  });
}

module.exports = Display;
//# sourceMappingURL=Display.js.map
