React · Vue
示例
声音
调整语音、音效和音乐。
语音音量
用法
import { SectionHeading } from '@momoyeyu/momo-ui';
import '@momoyeyu/momo-ui/styles.css';
<SectionHeading title="声音" level={2}
description="调整语音、音效和音乐。" id="sound" />Vue
<script setup>
import { SectionHeading } from '@momoyeyu/momo-ui/vue';
import '@momoyeyu/momo-ui/styles.css';
</script>
<template>
<SectionHeading title="声音" :level="2"
description="调整语音、音效和音乐。" id="sound" />
</template> API
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
title | string | 必填 | 区块标题。 |
description | string | — | 次要描述。 |
level | 1 | 2 | 3 | 4 | 5 | 6 | 2 | 原生标题层级。 |
id | string | — | 设置在标题元素上,可用于 aria-labelledby。 |