@fluid-topics/ft-i18n
v1.1.82
Published
Integrated component that displays internationalized label from a Fluid Topics portal.
Downloads
1,707
Readme
A string localization component.
Install
npm install @fluid-topics/ft-i18n
yarn add @fluid-topics/ft-i18n
Usage
import { html } from "lit"
import "@fluid-topics/ft-app-context"
import "@fluid-topics/ft-i18n"
function render() {
return html`
<ft-app-context
baseUrl="https://ft-tenant.com"
apiIntegrationIdentifier="my-ft-tenant-integration"
></ft-app-context>
<ft-i18n context="i18Context" key="helloWorld"></ft-i18n>
`
}