javascript - Semantic UI React item image as link -


i using item (semantic ui react) , set image link. how reference link url?

<item>     <item.image src={this.props.fileurl} size='tiny' as='a' />     <item.content>     </item.content> </item> 

if wrap item.image in a-container, padding gets messed up...

you're on right way, need use suir's augmentation, non item.image props by-passed:

<item.image   as='a'   href='http://example.com'   src={this.props.fileurl}   size='tiny' /> 

Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -