Blame view

src/routes/demo/page.tsx 526 Bytes
cfc13669   张志伟   🐱 feat(*): 新增组件库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  import { Helmet } from '@modern-js/runtime/head';
  import { ListRow } from '@feewee/h5app-common';
  
  const Index = () => (
    <>
      <Helmet>
        <link rel="icon" type="image/x-icon" href="https://lf3-static.bytednsdoc.com/obj/eden-cn/uhbfnupenuhf/favicon.ico" />
      </Helmet>
      <main className="p-4">
        <div>demo 页面</div>
        <ListRow title="标题" description="副标题" extra="描述文字" radius={6} align="center" onClick={() => console.info('点击事件')} />
      </main>
    </>
  );
  
  export default Index;