Skip to content

Commit 7c4faf1

Browse files
🛠️ apply pre-commit fixes
1 parent e12e851 commit 7c4faf1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

static/app/components/emptyMessage.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ resources:
66
js: https://github.com/getsentry/sentry/blob/master/static/app/components/emptyMessage.tsx
77
---
88

9+
import {Button} from 'sentry/components/core/button';
910
import EmptyMessage from 'sentry/components/emptyMessage';
1011
import Panel from 'sentry/components/panels/panel';
11-
import {Button} from 'sentry/components/core/button';
1212
import {IconSearch} from 'sentry/icons';
1313
import * as Storybook from 'sentry/stories';
1414

@@ -17,8 +17,8 @@ To create a basic empty message, wrap your message in an `<EmptyMessage>` compon
1717
```jsx
1818
<Panel>
1919
<EmptyMessage>
20-
This is a simple empty message with default styling and balanced text wrapping
21-
for better readability.
20+
This is a simple empty message with default styling and balanced text wrapping for
21+
better readability.
2222
</EmptyMessage>
2323
</Panel>
2424
```
@@ -48,8 +48,8 @@ Add a title to provide context for the empty state.
4848
</Storybook.Demo>
4949
```jsx
5050
<EmptyMessage title="No Results Found">
51-
We couldn't find any results matching your search criteria. Try adjusting your
52-
filters or search terms.
51+
We couldn't find any results matching your search criteria. Try adjusting your filters
52+
or search terms.
5353
</EmptyMessage>
5454
```
5555
@@ -92,8 +92,8 @@ Add action buttons to guide users toward resolving the empty state.
9292
title="No Results Found"
9393
action={<Button priority="primary">Clear Filters</Button>}
9494
>
95-
We couldn't find any results matching your search criteria. Try adjusting your
96-
filters or search terms.
95+
We couldn't find any results matching your search criteria. Try adjusting your filters
96+
or search terms.
9797
</EmptyMessage>
9898
```
9999

@@ -121,8 +121,8 @@ By default, content is centered. Use `leftAligned` for left-aligned layouts.
121121
title="No Results Found"
122122
action={<Button priority="primary">Clear Filters</Button>}
123123
>
124-
We couldn't find any results matching your search criteria. Try adjusting your
125-
filters or search terms.
124+
We couldn't find any results matching your search criteria. Try adjusting your filters
125+
or search terms.
126126
</EmptyMessage>
127127
```
128128
@@ -169,8 +169,8 @@ All text content automatically uses CSS text-wrap balance mode for better readab
169169
</Storybook.Demo>
170170
```jsx
171171
<EmptyMessage icon={<IconSearch size="xl" />} title="Text Wrapping">
172-
Sure you haven't misspelled? If you're using a lesser-known platform, consider
173-
choosing a more generic SDK like Browser JavaScript, Python, Node, .NET & Java or
174-
create a generic project.
172+
Sure you haven't misspelled? If you're using a lesser-known platform, consider choosing
173+
a more generic SDK like Browser JavaScript, Python, Node, .NET & Java or create a
174+
generic project.
175175
</EmptyMessage>
176176
```

0 commit comments

Comments
 (0)