@winman-f2e/novel-title-tpl
v1.0.2
Published
``` $ yarn add @winman-f2e/novel-title-tpl ```
Downloads
6
Keywords
Readme
阅读小说分站公用的标题模板
$ yarn add @winman-f2e/novel-title-tpl
import NovelTitle from '@winman-f2e/novel-title-tpl'
import React from 'react'
function View () {
return <NovelTitle index={0} tpl="tpl1">
}
属性
index: 章节序号。例如:index
为0时对应的文案为“第一章”
tpl: 模板名。 可选的值:'tpl1', 'tpl2', ..., 'tpl10'