You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
// JsxLexer default config (jsx)
// JsxLexer can take all the options of the JavascriptLexer plus the following
jsx: [{
lexer: 'JsxLexer',
attr: 'i18nKey', // Attribute for the keys
componentFunctions: ['Trans'], // Array of components to match
}],
}
Additional note: I cannot find anything named componentFunctions in the dist/index.d.ts file.
The text was updated successfully, but these errors were encountered:
Error:
![image](https://private-user-images.githubusercontent.com/16165119/248230615-94f4c196-c87f-4c8f-a3e3-af45ec47c0a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MDc1NDYsIm5iZiI6MTcxOTcwNzI0NiwicGF0aCI6Ii8xNjE2NTExOS8yNDgyMzA2MTUtOTRmNGMxOTYtYzg3Zi00YzhmLWEzZTMtYWY0NWVjNDdjMGEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDAwMjcyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExMzNiZjI2MDU4YTMzYjY0ZjkzMWY5MWVkNjQ4ZDQ5YTcwZDc5MDliMjYzNTZhNDc4OTgwNTZiY2Y4ZmM4OTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.G3AdVQV1njXBAfvsgYM7CKNkrwh_CWqtLAk6cb3rBtI)
Expected: https://github.com/i18next/i18next-parser#jsx
Additional note: I cannot find anything named
componentFunctions
in thedist/index.d.ts
file.The text was updated successfully, but these errors were encountered: