Socket
Book a DemoInstallSign in
Socket

@txdfe/at-page-header

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@txdfe/at-page-header

AT 页面标题

latest
npmnpm
Version
1.0.2
Version published
Maintainers
7
Created
Source

at-page-header

简介

页面标题头部

使用示例

import PageHeader from '@txdfe/at-page-header';

const Demo = () => {
  const prefix = 'page-header-demo';

  const extra = <span>新建</span>;
  return (
    <div className={prefix}>
      <PageHeader
        breadcrumb={[{ text: '页面标题' }, { text: '页面标题' }]}
        extra={extra}
      />
    </div>
  );
}

ReactDOM.render(<Demo />, mountNode);

API

参数类型可选值默认值说明
breadcrumbArray可选[{ text: '' }]标题,仅支持2级面包屑
noticeJSXElement可选nullNotice
childrenJSXElement可选null
extraJSXElement可选null右侧内容
typestring'header' 或者 'footer''header'类型

FAQs

Package last updated on 10 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts