feat: BlogsPage

This commit is contained in:
unknown
2021-09-06 11:07:45 +07:00
parent 6e1f2bc868
commit 1e1937290d
16 changed files with 234 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
import classNames from "classnames";
import React from "react"
import s from './TabItem.module.scss'
interface TabItemProps {
active: string;
target?: string;
children?: string;
}
const TabItem = ({ active = "", children } : TabItemProps) => {
return (
<span className={classNames(s.tabItem, {
[s[active]]: active
})}>
{children}
</span>
)
}
export default TabItem;