"use strict";
var import_Label = require("../../Label.css");
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const React = require("react");
const base = "Label_base_695b4";
const alignRight = "Label_alignRight_695b4";
const textOnly = "Label_textOnly_695b4";
const css = {
  base,
  alignRight,
  textOnly
};
const LabelTypes = {
  TextOnly: "textOnly"
};
const Label = ({ className, children, type, ...props }) => {
  const classes = [css.base];
  if (type)
    classes.push(css[type]);
  if (className)
    classes.push(className);
  return React.createElement("div", { className: classes.join(" "), ...props }, children);
};
exports.LabelTypes = LabelTypes;
exports.default = Label;
