gitbook 主题框架

This commit is contained in:
tangly1024
2023-06-23 10:41:43 +08:00
parent 6e76efcde0
commit ee2872d72d
46 changed files with 1688 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
const Card = ({ children, headerSlot, className }) => {
return <div className={className}>
<>{headerSlot}</>
<section className="shadow px-2 py-4 bg-white dark:bg-gray-800 hover:shadow-xl duration-200">
{children}
</section>
</div>
}
export default Card