jd-opensource / jd-opensource/taro-ui

AtAccordion希望给 title 添加一个插槽

Open
#1,037 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

想实现如下功能:
![image](https://user-images.githubusercontent.com/23564486/80363914-8598d580-88b7-11ea-8631-b643142d4bbb.png)
1、传递一个 title 插槽
2、手风琴列表只能展开一个面板
现在的问题是:
title 只能传一个 String 类型的字符串,不能传 html 元素

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.