Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/components/src/notice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ If an icon is included in the Notice, it should be color-coded to match the Noti
To display a plain notice, pass `Notice` a string:

```jsx
import { Notice } from `@wordpress/components`;
import { Notice } from '@wordpress/components';

const MyNotice = () => (
<Notice status="error">An unknown error occurred.</Notice>
Expand All @@ -71,7 +71,7 @@ const MyNotice = () => (
For more complex markup, you can pass any JSX element:

```jsx
import { Notice } from `@wordpress/components`;
import { Notice } from '@wordpress/components';

const MyNotice = () => (
<Notice status="error">
Expand Down
Loading