Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Nov 12, 2024
1 parent a7ad925 commit 5603457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/react/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use the following steps to use the Nx React SVG Loaders in your React project.

Import selected `Nx{SELECTED}Loader` component into your component or module and then use with `<Nx{SELECTED}Loader>` tag.

```tsx title="app.tsx"
```tsx title="App.tsx"
import { useState } from "react";

// highlight-next-line
Expand Down Expand Up @@ -40,7 +40,7 @@ const App = (props: IAppProps) => {
You can set custom color to the loader by passing `style.color` prop to the loader component or any parent element.
SVG loader will inherit the color from the parent element with `currentColor` value.

```tsx title="app.tsx"
```tsx title="App.tsx"
// highlight-next-line
import { NxOvalLoader } from "@ngeenx/nx-react-svg-loaders";

Expand Down

0 comments on commit 5603457

Please sign in to comment.