import{__assign as e}from"../../../node_modules/tslib/tslib.es6.js";import r from"react";import{SupportedLanguages as t}from"../../Bloc/BlocTypes.js";import{DEFAULT_BLOC_PROPERTIES as o}from"../../Bloc/BlocProperties.js";import{PropsGeneratorForGivenComponent as l}from"../../../prop-utils.js";var s,i,a,m=e(e({},o),{text:"",withChevron:"yes",href:"",url:""}),n=(a=l({text:(s={},s[t.English]="",s[t.Thai]="",s),href:(i={},i[t.English]="",i[t.Thai]="",i)},["text","href"],[])).propsGenerator,p=a.propsParser;export default function(e){var t=e.text,o=e.withChevron,l=e.url;return r.createElement(r.Fragment,null,r.createElement("a",{className:"text-link light-blue",href:l},r.createElement("span",{className:"yes"===o?"chevron right":""},t)))}export{m as DEFAULT_TEXT_LINK,n as textLinkPropsGenerator,p as textLinkPropsParser};
//# sourceMappingURL=TextLink.js.map
