mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-20 15:09:40 +00:00
build React.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import BlogPostCard from './BlogPostCard'
|
||||
import React, { useState } from 'react'
|
||||
import NotionIcon from './NotionIcon'
|
||||
// import Collapse from '@/components/Collapse'
|
||||
|
||||
/**
|
||||
@@ -11,16 +9,11 @@ import NotionIcon from './NotionIcon'
|
||||
* @constructor
|
||||
*/
|
||||
const BlogPostItem = (props) => {
|
||||
const { group, filterLinks } = props
|
||||
// const [isOpen, changeIsOpen] = useState(group?.selected)
|
||||
|
||||
// const toggleOpenSubMenu = () => {
|
||||
// changeIsOpen(!isOpen)
|
||||
// }
|
||||
const { group } = props
|
||||
|
||||
console.log('####### group')
|
||||
console.log(group)
|
||||
|
||||
|
||||
if (group?.category) {
|
||||
return <>
|
||||
<div id={group?.category} className='category text-lg font-normal pt-9 pb-4 first:pt-4 select-none flex justify-between font-sans text-neutral-800 dark:text-neutral-400 p-2' key={group?.category}>
|
||||
|
||||
Reference in New Issue
Block a user