From faa8dc10c951c01da5733239d5b48c53e125dd65 Mon Sep 17 00:00:00 2001 From: Vlad Ifrim Date: Fri, 26 Apr 2024 12:51:52 +0300 Subject: [PATCH] makes code snippets from docs static --- README.md | 4 ++-- docs/GettingStarted.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 33f7fc8a..cbaa3067 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ npm install --save @tyk-technologies/tyk-ui **Loading tyk-ui into the project** *Import the css before any other styles from your main js file* -```js +```javascript static import '@tyk-technologies/tyk-ui/src/index.css'; ``` @@ -24,7 +24,7 @@ For projects that don't use SASS but just pure css we are also exposing the comp ``` *Loading React components* -```javascript +```javascript static import { Button, Column, diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index 287f439a..b77ab75f 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -30,7 +30,7 @@ import { ``` - *Import the css before any other styles from your main js file* -```js +```javascript static import '@tyk-technologies/tyk-ui/src/index.css'; ```