Skip to content

Commit 3e40812

Browse files
committed
Fix hydration error
1 parent 0b1494f commit 3e40812

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

apps/landing/src/app/(detail)/components/button/Examples.mdx

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ import MdxCardFooter from '../MdxCardFooter'
2222
</div>
2323
</div>
2424
<br/>
25-
<p style={{ marginBottom: '10px' }}>**Variant & Size**</p>
25+
**Variant & Size**
26+
<br/>
2627
`Button` components has `default` and `primary` variants. `Size` prop determines the paddings of the button.
2728
</div>
2829
<MdxCardFooter>
@@ -64,7 +65,9 @@ import MdxCardFooter from '../MdxCardFooter'
6465
</div>
6566
</div>
6667
<br />
67-
<p style={{ marginBottom: '10px' }}>**Danger**</p>
68+
**Danger**
69+
70+
<br/>
6871
Use `danger` prop to signal caution.
6972
</div>
7073
<MdxCardFooter>
@@ -92,7 +95,9 @@ import MdxCardFooter from '../MdxCardFooter'
9295
</div>
9396
</div>
9497
<br />
95-
<p style={{ marginBottom: '10px' }}>**Disabled**</p>
98+
**Disabled**
99+
100+
<br/>
96101
Use `disabled` prop to show disabled UI of the button.
97102
</div>
98103
<MdxCardFooter>
@@ -164,7 +169,9 @@ import MdxCardFooter from '../MdxCardFooter'
164169
</div>
165170
</div>
166171
<br />
167-
<p style={{ marginBottom: '10px' }}>**Icon**</p>
172+
**Icon**
173+
174+
<br/>
168175
Pass in an svg icon component into `icon` prop. If props like `stroke` and `fill` have `"currentColor"` value, the svg icon will follow the text color of the button.
169176
</div>
170177
<MdxCardFooter>
@@ -322,7 +329,9 @@ import MdxCardFooter from '../MdxCardFooter'
322329
</div>
323330
</div>
324331
<br />
325-
<p style={{ marginBottom: '10px' }}>**Icon**</p>
332+
**Icon**
333+
334+
<br/>
326335
Pass in an svg icon component into `icon` prop. If props like `stroke` and `fill` have `"currentColor"` value, the svg icon will follow the text color of the button.
327336
</div>
328337
<MdxCardFooter>

0 commit comments

Comments
 (0)