|
|
@ -45,26 +45,18 @@ class Demo extends React.Component { |
|
|
|
<Switch onChange={val => this.setState({ editable: val })} /> |
|
|
|
<Switch onChange={val => this.setState({ expandable: val })} /> |
|
|
|
<Slider value={rows} min={1} max={10} onChange={this.onChange} /> |
|
|
|
|
|
|
|
{longText ? ( |
|
|
|
<Paragraph ellipsis={{ rows, expandable }} copyable={copyable} editable={editable}> |
|
|
|
Ant Design, a design language for background applications, is refined by Ant UED Team. |
|
|
|
This is a nest sample{' '} |
|
|
|
<Text code strong delete> |
|
|
|
Test |
|
|
|
</Text>{' '} |
|
|
|
case. |
|
|
|
{ |
|
|
|
'Bnt Design, a design language for background applications, is refined by Ant UED Team.' |
|
|
|
} |
|
|
|
This is a nest sample <Text code strong delete>Test</Text> case. |
|
|
|
Bnt Design, a design language for background applications, is refined by Ant UED Team. |
|
|
|
Cnt Design, a design language for background applications, is refined by Ant UED Team. |
|
|
|
Dnt Design, a design language for background applications, is refined by Ant UED Team. |
|
|
|
Ent Design, a design language for background applications, is refined by Ant UED Team. |
|
|
|
</Paragraph> |
|
|
|
) : ( |
|
|
|
<Paragraph ellipsis={{ rows, expandable }} copyable={copyable} editable={editable}> |
|
|
|
{'Hello'} |
|
|
|
{'World'} |
|
|
|
Hello World |
|
|
|
</Paragraph> |
|
|
|
)} |
|
|
|
</div> |
|
|
|