Home > @uniformdev/mesh-sdk-react > DamSelectedItemProps
DamSelectedItemProps interface
Warning: This API is now obsolete.
please use ObjectSearchResultItem - https://mesh-design-system.netlify.app/?path=/story/object-search--object-search-result-item
Signature:
Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
</td><td>
</td><td>
React__default.ComponentType<{ item: TResult; }>
</td><td>
(Optional) Allows for customizing how item details, e.g. item preview, item metadata, are rendered. If not defined, item details will be rendered using the default (built-in) renderer.
</td></tr> <tr><td>
</td><td>
</td><td>
string | React__default.ComponentType<{ className?: string; }>
</td><td>
(Optional) Logo icon is used for the editLink
if editLink
is a string value, otherwise the icon is not used.
</td></tr> <tr><td>
</td><td>
</td><td>
(item: TResult) => void
</td><td>
Callback that is invoked when the "Unlink" (deselect) button is clicked.
</td></tr> <tr><td>
</td><td>
</td><td>
(item: TResult) => void
</td><td>
(Optional) If editLink
is a string value, an <a>
element will be rendered for the editLink
and the onEditClosed
callback will be invoked when the tab opened by clicking the <a>
element is closed.
</td></tr> <tr><td>
</td><td>
</td><td>
TResult
</td><td>
The item used for rendering this component.
</td></tr> </tbody></table>