Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert警告提示框如何给内容添加链接?? #3740

Closed
longzb opened this issue Nov 5, 2016 · 3 comments
Closed

Alert警告提示框如何给内容添加链接?? #3740

longzb opened this issue Nov 5, 2016 · 3 comments

Comments

@longzb
Copy link

longzb commented Nov 5, 2016

请完善你们的企业信息 >> 我要完善

我需要在警告框提示用户未完善信息,并且给个连接跳转去完善,但我弄了半个小时了都不知道怎么实现,把自己能想到的都想了,只能来这里求助了。

@yesmeck
Copy link
Member

yesmeck commented Nov 5, 2016

看文档,message 就是 React.Node。

 const message =  (
  <div>
    请完善你们的企业信息 >><Link href="/message/baseinfo">我要完善</Link>;
  </div>
 );

<Alert message={message} type="warning" />

@yesmeck yesmeck closed this as completed Nov 5, 2016
@benjycui
Copy link
Contributor

benjycui commented Nov 7, 2016

Ant Design team use GitHub issues to trace bugs or discuss plans of Ant Design. So, please don't ask usage questions here. You can try to ask questions in Stack Overflow or Segment Fault, then apply tag antd and react to your questions.

You should read documentation & FAQ and search issues before ask a question, THX!

It will be better if you read smart questions(提问的智慧).

@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants