mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
parent
18c4b085ba
commit
88fde9f9f7
@ -59,6 +59,7 @@ exports[`renders ./components/typography/demo/basic.md correctly 1`] = `
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
class="ant-typography"
|
||||
href="/docs/spec/proximity"
|
||||
>
|
||||
Principles
|
||||
@ -66,6 +67,7 @@ exports[`renders ./components/typography/demo/basic.md correctly 1`] = `
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
class="ant-typography"
|
||||
href="/docs/pattern/navigation"
|
||||
>
|
||||
Patterns
|
||||
@ -73,6 +75,7 @@ exports[`renders ./components/typography/demo/basic.md correctly 1`] = `
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
class="ant-typography"
|
||||
href="/docs/resource/download"
|
||||
>
|
||||
Resource Download
|
||||
@ -160,6 +163,7 @@ exports[`renders ./components/typography/demo/basic.md correctly 1`] = `
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
class="ant-typography"
|
||||
href="/docs/spec/proximity"
|
||||
>
|
||||
设计原则
|
||||
@ -167,6 +171,7 @@ exports[`renders ./components/typography/demo/basic.md correctly 1`] = `
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
class="ant-typography"
|
||||
href="/docs/pattern/navigation"
|
||||
>
|
||||
设计模式
|
||||
@ -174,6 +179,7 @@ exports[`renders ./components/typography/demo/basic.md correctly 1`] = `
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
class="ant-typography"
|
||||
href="/docs/resource/download"
|
||||
>
|
||||
设计资源
|
||||
|
@ -16,7 +16,7 @@ Display the document sample.
|
||||
```jsx
|
||||
import { Typography, Divider } from 'antd';
|
||||
|
||||
const { Title, Paragraph, Text } = Typography;
|
||||
const { Title, Paragraph, Text, Link } = Typography;
|
||||
|
||||
ReactDOM.render(
|
||||
<Typography>
|
||||
@ -45,13 +45,13 @@ ReactDOM.render(
|
||||
<Paragraph>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/docs/spec/proximity">Principles</a>
|
||||
<Link href="/docs/spec/proximity">Principles</Link>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/pattern/navigation">Patterns</a>
|
||||
<Link href="/docs/pattern/navigation">Patterns</Link>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/resource/download">Resource Download</a>
|
||||
<Link href="/docs/resource/download">Resource Download</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</Paragraph>
|
||||
@ -81,13 +81,13 @@ ReactDOM.render(
|
||||
<Paragraph>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/docs/spec/proximity">设计原则</a>
|
||||
<Link href="/docs/spec/proximity">设计原则</Link>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/pattern/navigation">设计模式</a>
|
||||
<Link href="/docs/pattern/navigation">设计模式</Link>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/docs/resource/download">设计资源</a>
|
||||
<Link href="/docs/resource/download">设计资源</Link>
|
||||
</li>
|
||||
</ul>
|
||||
</Paragraph>
|
||||
|
@ -22,6 +22,9 @@
|
||||
|
||||
&&-danger {
|
||||
color: @error-color;
|
||||
a&:hover {
|
||||
color: ~`colorPalette('@{error-color}', 5) `;
|
||||
}
|
||||
}
|
||||
|
||||
&&-disabled {
|
||||
|
Loading…
Reference in New Issue
Block a user