How do I use antd library message.info
components to modify css font-size?
It’s not working, it’s not found dom element
<code>import { message } from 'antd'
message.info({
content: 'info',
style: {
fontSize: '8px',
lineHeight: '1.5'
}
})
</code>
<code>import { message } from 'antd'
message.info({
content: 'info',
style: {
fontSize: '8px',
lineHeight: '1.5'
}
})
</code>
import { message } from 'antd'
message.info({
content: 'info',
style: {
fontSize: '8px',
lineHeight: '1.5'
}
})
New contributor
Pokeya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.