Skip to content

Commit d743e95

Browse files
committed
Run npm run format
1 parent 6309e61 commit d743e95

File tree

3 files changed

+18
-13
lines changed

3 files changed

+18
-13
lines changed

packages/react-components/source/react/library/avatar/Avatar.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,22 @@ Avatar is an icon or figure representing a particular user of the application. T
99
```jsx
1010
<div style={{ display: 'flex', alignItems: 'center' }}>
1111
<Avatar>
12-
<img src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=100" alt="placeholder" />
12+
<img
13+
src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=100"
14+
alt="placeholder"
15+
/>
1316
</Avatar>
1417
<Avatar>
15-
<img src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=100" alt="placeholder" />
18+
<img
19+
src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=100"
20+
alt="placeholder"
21+
/>
1622
</Avatar>
1723
<Avatar>
18-
<img src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=100" alt="placeholder" />
24+
<img
25+
src="https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=100"
26+
alt="placeholder"
27+
/>
1928
</Avatar>
2029
</div>
2130
```
@@ -27,10 +36,10 @@ Avatar is an icon or figure representing a particular user of the application. T
2736
<Avatar>
2837
<span>R</span>
2938
</Avatar>
30-
<Avatar style={{backgroundColor: '#ffae1a'}}>
39+
<Avatar style={{ backgroundColor: '#ffae1a' }}>
3140
<span>M</span>
3241
</Avatar>
33-
<Avatar style={{backgroundColor: '#11d1c4', color: '#ffffff'}}>
42+
<Avatar style={{ backgroundColor: '#11d1c4', color: '#ffffff' }}>
3443
<span>T</span>
3544
</Avatar>
3645
</div>

packages/react-components/source/react/library/content/Content.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ The `Content` component is a wrapper for simple HTML content, which provides def
281281
<li>
282282
<p>
283283
For more information on our curated step specifications, see{' '}
284-
<a href="/documentation/step-specifications">Step specifications</a>
285-
.
284+
<a href="/documentation/step-specifications">Step specifications</a>.
286285
</p>
287286
</li>
288287
<li>

packages/react-components/source/react/library/sidepanel/SidePanel.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import Text from '../text';
1919
</SidePanel>
2020
</div>;
2121
```
22+
2223
## Variations
2324

2425
### Alternative Button Icon
@@ -42,6 +43,7 @@ import Text from '../text';
4243
```
4344

4445
### Static SidePanel
46+
4547
An example of how you might use the `hideCloseButton` prop to have the `SidePanel` as a static component on a page.
4648

4749
```jsx
@@ -62,12 +64,7 @@ const TitleNode = () => (
6264
);
6365

6466
<div className="sidebar-container">
65-
<SidePanel
66-
border
67-
title={<TitleNode/>}
68-
type="toolbar"
69-
hideCloseButton="true"
70-
>
67+
<SidePanel border title={<TitleNode />} type="toolbar" hideCloseButton="true">
7168
<Text>Hello world!</Text>
7269
</SidePanel>
7370
</div>;

0 commit comments

Comments
 (0)