mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Create Hr component for horizontal line
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
export interface Props {
|
||||||
|
className?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const { className } = Astro.props;
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class={`max-w-3xl mx-auto px-4 ${className}`}>
|
||||||
|
<hr class="border-skin-line" />
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user