# tabheader_react **Repository Path**: wangpeng126_2009/tabheader_react ## Basic Information - **Project Name**: tabheader_react - **Description**: 开发一个react的tabheader的组件,样式和ant-design保持一致 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-24 - **Last Updated**: 2021-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 描述 开发一个 react 的 tabheader 组件。 风格和 ant-design 保持一致。由于开发中 UI 设计的 tab 风格,总是头和 body 是分开的,所以封装了一个单独 tabheader。 ## 效果图 ![tab.png](https://i.loli.net/2020/04/01/1mQdgsOIvD3WPcj.png) ## 使用方式 ```js import TabHeader from "tabheader-react"; { alert(val); }} />; ``` ## 安装 ```bash npm i tabheader-react ``` ## 查看 demo [github 地址](https://github.com/codepandy/tabheader_react) ### 运行 demo ```bash // clone 代码 git clone https://github.com/codepandy/tabheader_react // 进入文件夹 cd tabheader_react // 安装依赖 npm install // 启动demo npm run start ```