Skip to content

Commit

Permalink
chore(ui-docs): delete unnecessary highlighting code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakutoc committed Feb 7, 2024
1 parent c54b9fd commit 1a2e940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/plasma-ui-docs/docs/intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const GlobalStyle = () => (
}>
<TabItem value="cra">

```jsx {2,3,7,9,10} title="index.tsx"
```jsx title="index.tsx"
import { DeviceThemeProvider, SSRProvider } from '@salutejs/plasma-ui';
import { GlobalStyle } from './GlobalStyle';
import { App } from './App';
Expand All @@ -100,7 +100,7 @@ ReactDOM.render(
</TabItem>
<TabItem value="next">

```tsx {2,3,7,9,10} title="pages/_app.tsx"
```tsx title="pages/_app.tsx"
import type { AppProps } from 'next/app';
import { DeviceThemeProvider, SSRProvider } from '@salutejs/plasma-ui';
import { GlobalStyle } from './GlobalStyle';
Expand Down Expand Up @@ -128,7 +128,7 @@ export default MyApp;
**рекомендуется** использовать их напрямую из пакета.
Таким образом, обеспечивается работа [tree shaking](https://webpack.js.org/guides/tree-shaking/).

```jsx {1,2} title="App.tsx"
```jsx title="App.tsx"
import { Container } from '@salutejs/plasma-ui/components/Grid';
import { Button } from '@salutejs/plasma-ui';

Expand Down

0 comments on commit 1a2e940

Please sign in to comment.