标题
Header标签用于在标注界面显示标题。
参数
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| value | string |
Text of header, either static text or the field name in data to use for the header | |
| [size] | number |
4 |
Level of header on a page, used to control size of the text |
| [style] | string |
CSS style for the header | |
| [underline] | boolean |
false |
Whether to underline the header |
示例
根据数据中的字段在标注界面上显示标题
<View>
<Header value="$text" />
</View>
示例
在标注界面显示静态标题
<View>
<Header value="Please select the class" />
</View>