632 B
632 B
Button
create primary button
"<button type=\"button\" class=\"ant-btn ant-btn-primary\"><span>按 钮</span></button>"
should support link button
"<button target=\"_blank\" href=\"http://ant.design\" type=\"button\" class=\"ant-btn ant-btn-default\"><span>link button</span></button>"
fixbug renders {0} , 0 and {false}
"<button type=\"button\" class=\"ant-btn ant-btn-default\"><span>0</span></button>"
"<button type=\"button\" class=\"ant-btn ant-btn-default\"><span>0</span></button>"
"<button type=\"button\" class=\"ant-btn ant-btn-default\"></button>"