Skip to content

Commit

Permalink
docs: make ThemedImage example work out of the box (#10085)
Browse files Browse the repository at this point in the history
  • Loading branch information
lebalz committed Apr 29, 2024
1 parent e20b329 commit f1cb4ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ import DocusaurusSvg from './docusaurus.svg';
Docusaurus supports themed images: the `ThemedImage` component (included in the themes) allows you to switch the image source based on the current theme.

```jsx
import useBaseUrl from '@docusaurus/useBaseUrl';
import ThemedImage from '@theme/ThemedImage';

<ThemedImage
Expand Down

0 comments on commit f1cb4ed

Please sign in to comment.