feat(ShareSheet): add options description (#6460)

* feat(share-sheet): share sheet add option

* feat(share-sheet): add options intro

* feat(ShareSheet): add options description

Co-authored-by: zhanglin <zhanglin_0715@youzan.com>
This commit is contained in:
木槿花开
2020-06-04 16:29:35 +08:00
committed by GitHub
co-authored by zhanglin
parent 472c4f35ae
commit c445b12507
6 changed files with 65 additions and 2 deletions
+5
View File
@@ -92,6 +92,11 @@ export default createComponent({
>
<img src={this.getIconURL(option.icon)} class={bem('icon')} />
{option.name && <span class={bem('name')}>{option.name}</span>}
{option.description && (
<span class={bem('option-description')}>
{option.description}
</span>
)}
</div>
))}
</div>