1.0.3 • Published 1 month ago
xverse-components-sound-control-button v1.0.3
API
参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 |
---|---|---|---|---|---|
muteIcon | string | 静音图标 | - | false | - |
playIcon | string | 播放图标 | - | false | - |
soundComponentIds | string[] | 被管理声音的组件 ID | false | 不填时则为全局声音管理,管理应用中所有的声音 | |
style | CSSProperties | - | false | - | |
className | string | 类名 | - | false | - |
onClick | () => void | 点击配置图标时的回调 | - | false | - |