0.1.4 • Published 2 years ago
xverse-components-sound v0.1.4
API
| 参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 |
|---|---|---|---|---|---|
| muteIcon | string | 静音图标 | - | false | - |
| playIcon | string | 播放图标 | - | false | - |
| className | string | 类名 | - | false | - |
| onClick | () => void | 有 icon 时 点击后的回调 | - | false | - |
| soundComponentIds | string[] | 需要管理声音的组件 id | false | 不填时默认都管理 | |
| style | any | - | false | - |