Skip to content

@fabwcie/free-drawing / i18n/I18n / Translate

Type Alias: Translate ​

Translate = (key, params?) => string

Defined in: packages/free-drawing/src/i18n/I18n.ts:47

Function giving the text of a key in current language, placeholders replaced by params (drawer.t)

Parameters ​

key ​

TranslationKey

params? ​

TranslationParams

Returns ​

string