Skip to content

Commit

Permalink
Fix readme code block language
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Aug 12, 2024
1 parent a84f936 commit b6c0a9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ npm install docusaurus-plugin-native-ideal-image

And add the configuration to `docusaurus.config.js`/`docusaurus.config.ts`

```ts
const config: Config = {
```js
const config = {
...
plugins: ['native-ideal-image'],
}
```

Then you can use it in your project like this

```ts
```tsx
import image from '../images/some-image.jpeg'

export default function App() {
Expand Down

0 comments on commit b6c0a9c

Please sign in to comment.