myprojectpackageprav
Version:
My package in npm
40 lines • 1.68 kB
JavaScript
import React from "react";
import './calendar.css';
import { Link } from "react-router-dom";
// import Tabs from "../tabs/tabs";
//import Calendartabcontent from "./tab-items";
import Calendaritems from "./calendar-items";
var CalendarTabs = function () {
// below commented code for tab calendar
// const calendar_items = [
// {
// tabtitle: 'All',
// is_active: "true",
// content: (<><Calendartabcontent tabId={"all"} /></>)
// },
// {
// tabtitle: 'Events',
// is_active: "false",
// content: (<><Calendartabcontent tabId={"events"} /></>)
// },
// {
// tabtitle: 'Meetings',
// is_active: "false",
// content: (<><Calendartabcontent tabId={"meetings"} /></>)
// },
// {
// tabtitle: 'Trainings',
// is_active: "false",
// content: (<><Calendartabcontent tabId={"trainings"} /></>)
// }
// ];
return (React.createElement(React.Fragment, null,
React.createElement("div", { className: "card-header pb-0 d-flex align-items-center justify-content-between" },
React.createElement("div", { className: "d-flex mb-2 title-border" },
React.createElement("div", { tabIndex: 0, "aria-label": "Calendar", className: "poppins-bold font-14" }, "Calendar")),
React.createElement(Link, { title: "View All", to: "/calendar", className: "links-underline font-12 links" }, "View All")),
React.createElement("div", { className: "card-body pt-0" },
React.createElement(Calendaritems, null))));
};
export default CalendarTabs;
//# sourceMappingURL=calendar-tabs.js.map