custom-antd-tabs
v1.0.1
Published
node version: 14.16.0
Downloads
10
Readme
Custom Antd Tabs
node version: 14.16.0
npm version: 7.7.6
About
This npm package built around AntD Tabs component.
Please note
This package have dependency on antd Library.
For development
npm i
npm run start
Quick Start
import Tabs from "custom-antd-tabs";
const tabslist = [
{ title: "Tab 1", content: "Content of Tab 1", key: "1" },
{ title: "Tab 2", content: "Content of Tab 2", key: "2" },
{
title: "Tab 3",
content: "Content of Tab 3",
key: "3",
},
];
function App() {
return (
<div className="App">
<Tabs tabs={tabslist} />
</div>
);
}
export default App;
For testing
npm test
For building
npm build
development Environment
- Windows 10 (Intel i5 - 8th Gen, RAM - 12GB)
- Visual Studio Code
- Visual Studio code Extensions
- Prettier - Code formatter
- React Extension Pack
- Path Intellisense
Test Coverage
Current test coverage is 38.63% (% lines) Click for more Details