@yanhuang/yh-page
v2.15.0
Published
page rendering api for all pages under yanhuang platform
Downloads
6
Keywords
Readme
炎凰数据 自定义页面组件
安装
npm install @yanhuang/yh-page
使用
import React, { useEffect } from 'react'
import layout from '@yanhuang/yh-page';
export default function DemoPage(props) {
const { onPageTitleChange } = props;
useEffect(() => {
onPageTitleChange('Demo Page');
}, []);
return (
<div>place holder</div>
)
};
const viewport = document.getElementById('viewport');
layout(<DemoPage/>, viewport);
更多文档请查看 炎凰数据自定义页面