Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRT-358 Hide i18n frameowk examples for angular, vue #1933

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ You can integrate the internationalisation framework using the `getLocaleText` o

If you return `undefined` from this function, it will fall back to the default behaviour of using `localeText` with the default formatter.

{% if isFramework("javascript") %}

### Framework Integration Examples

{% tabs %}

{% if isFramework("javascript", "angular", "vue") %}

{% tabItem id="FormatJS" label="FormatJS" %}

```js
Expand Down Expand Up @@ -206,10 +206,16 @@ AgCharts.create({

{% /tabItem %}

{% /tabs %}

{% /if %}

{% if isFramework("react") %}

### Framework Integration Examples

{% tabs %}

{% tabItem id="React Intl" label="React Intl" %}

```jsx
Expand Down Expand Up @@ -288,10 +294,10 @@ const MyChart = () => {

{% /tabItem %}

{% /if %}

{% /tabs %}

{% /if %}

## API Reference

{% tabs %}
Expand Down
Loading