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
Post a Comment