成分

主题屏

&lttrooticscreen />

构造函数

&lttrooticscreen />

您可以使用此组件在自定义屏幕中显示您的主题屏幕。

特性:
姓名 类型 属性 描述
截图 <可选>

列表屏幕标题。默认来自Buddyboss网站的翻译文件

ShoteCearch. <可选>

错误的隐藏搜索框

hidetitle. <可选>

真的隐藏屏幕的标题

隐藏器 <可选>

真的隐藏屏幕中的过滤器

Hidenavigationheader. <可选>

真的隐藏屏幕标题容器

标题 <可选>

定义标题高度

例子
//在custom_code / components / mycustomscreen.js ...导入从“反应”反应;从“反应原住民”导入{查看};从“@ src / containers / custom / topicsscreen”导入主题屏幕;const mycustomscreen =(props)=> {return(<查看样式= {{flex:1}}> <主题屏{...道具} showearearch = {false} hidefilters = {true} hidetitle = {false} /> )} mycustomscreen.navigationOptions = {标题:null}导出默认MyCustomScreen;//在custom_code / index.js中...从“./components/mycustomscreen”导入mycustomscreen;导出constmustomcode = ExternalCodesetup => {ExternalCodeSetup.NavigationApi.replacesCreenComponent(“主题”,MyCustomScreen);}
Baidu