"use strict";const u=require("./tslib.es6-C4EgNkz1.js"),e=require("react"),o=require("classnames"),m=s=>{var{className:l,children:a,stacked:r=!1,required:t=!1,position:c="start"}=s,n=u.__rest(s,["className","children","stacked","required","position"]);const i=o("field__label",l,{"field__label--stacked":r},{"field__label--end":c==="end"}),d=t?e.createElement(e.Fragment,null," ",e.createElement("sup",null,"*")):null;return e.createElement("label",Object.assign({className:i},n),a,d)};exports.Label=m;
