How to present a dictionary list with ant design?
up vote
0
down vote
favorite
I want to display a dictionary in a nice way. In standard HTML I would use DL tag. I didn't find an analog in ant.design yet.
antd
add a comment |
up vote
0
down vote
favorite
I want to display a dictionary in a nice way. In standard HTML I would use DL tag. I didn't find an analog in ant.design yet.
antd
Are you using React?
– baitun
Nov 9 at 5:14
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to display a dictionary in a nice way. In standard HTML I would use DL tag. I didn't find an analog in ant.design yet.
antd
I want to display a dictionary in a nice way. In standard HTML I would use DL tag. I didn't find an analog in ant.design yet.
antd
antd
edited Nov 12 at 14:41
asked Nov 7 at 14:49
Evgeniy Pozdnyakov
11
11
Are you using React?
– baitun
Nov 9 at 5:14
add a comment |
Are you using React?
– baitun
Nov 9 at 5:14
Are you using React?
– baitun
Nov 9 at 5:14
Are you using React?
– baitun
Nov 9 at 5:14
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
When you use the ant-design, you have to install yarn add antd
or npm install antd --save
After, the easiest way for ant-design is adding the index.html(ex.For React)
https://cdnjs.com/libraries/antd
You can use these link.
<link type="stylesheet" href="paste the antd css from url">
And then, you will be use this.
Lastly, I recommend to you "min.css" file.
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
up vote
0
down vote
If you use ant.design, it doesn't mean that you can not use standard HTML tags, you can still use them.
For example, this will look nice:
import React from 'react'
import ReactDOM from 'react-dom'
import 'antd/dist/antd.css'
ReactDOM.render(
<div>
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
</div>,
document.getElementById('container')
)
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
When you use the ant-design, you have to install yarn add antd
or npm install antd --save
After, the easiest way for ant-design is adding the index.html(ex.For React)
https://cdnjs.com/libraries/antd
You can use these link.
<link type="stylesheet" href="paste the antd css from url">
And then, you will be use this.
Lastly, I recommend to you "min.css" file.
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
up vote
0
down vote
When you use the ant-design, you have to install yarn add antd
or npm install antd --save
After, the easiest way for ant-design is adding the index.html(ex.For React)
https://cdnjs.com/libraries/antd
You can use these link.
<link type="stylesheet" href="paste the antd css from url">
And then, you will be use this.
Lastly, I recommend to you "min.css" file.
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
up vote
0
down vote
up vote
0
down vote
When you use the ant-design, you have to install yarn add antd
or npm install antd --save
After, the easiest way for ant-design is adding the index.html(ex.For React)
https://cdnjs.com/libraries/antd
You can use these link.
<link type="stylesheet" href="paste the antd css from url">
And then, you will be use this.
Lastly, I recommend to you "min.css" file.
When you use the ant-design, you have to install yarn add antd
or npm install antd --save
After, the easiest way for ant-design is adding the index.html(ex.For React)
https://cdnjs.com/libraries/antd
You can use these link.
<link type="stylesheet" href="paste the antd css from url">
And then, you will be use this.
Lastly, I recommend to you "min.css" file.
answered Nov 7 at 17:07
Sean Kim
448
448
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
TY for explanation how to start using ant.design. However you didn't answer my question.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
up vote
0
down vote
If you use ant.design, it doesn't mean that you can not use standard HTML tags, you can still use them.
For example, this will look nice:
import React from 'react'
import ReactDOM from 'react-dom'
import 'antd/dist/antd.css'
ReactDOM.render(
<div>
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
</div>,
document.getElementById('container')
)
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
up vote
0
down vote
If you use ant.design, it doesn't mean that you can not use standard HTML tags, you can still use them.
For example, this will look nice:
import React from 'react'
import ReactDOM from 'react-dom'
import 'antd/dist/antd.css'
ReactDOM.render(
<div>
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
</div>,
document.getElementById('container')
)
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
up vote
0
down vote
up vote
0
down vote
If you use ant.design, it doesn't mean that you can not use standard HTML tags, you can still use them.
For example, this will look nice:
import React from 'react'
import ReactDOM from 'react-dom'
import 'antd/dist/antd.css'
ReactDOM.render(
<div>
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
</div>,
document.getElementById('container')
)
If you use ant.design, it doesn't mean that you can not use standard HTML tags, you can still use them.
For example, this will look nice:
import React from 'react'
import ReactDOM from 'react-dom'
import 'antd/dist/antd.css'
ReactDOM.render(
<div>
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
</div>,
document.getElementById('container')
)
answered Nov 9 at 5:25
baitun
140110
140110
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
I want all my UI pieces have similar style. So I would avoid writing styles myself.
– Evgeniy Pozdnyakov
Nov 12 at 14:45
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53191844%2fhow-to-present-a-dictionary-list-with-ant-design%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you using React?
– baitun
Nov 9 at 5:14