添加onClick for图标链接?

时间:2019-02-18 09:05:15

标签: semantic-ui-react

当onClick for图标具有link为真时,如何添加它?

<Input size='huge' icon={{ name: 'plus', circular: true, link: true }}  placeholder='Add...' />

1 个答案:

答案 0 :(得分:0)

您应该尝试这样:

icon={{ name: 'eye', circular: true, link: true, onClick:(props.iconClicked)  }}