feat: refactor components to use named exports for better consistency
This commit is contained in:
@@ -5,7 +5,7 @@ interface BreadcrumbProperty {
|
||||
slug: string
|
||||
}
|
||||
|
||||
const Breadcrumb = (property: BreadcrumbProperty) => {
|
||||
export const Breadcrumb = (property: BreadcrumbProperty) => {
|
||||
const { slug } = property
|
||||
return (
|
||||
<div className="flex items-center gap-2">
|
||||
@@ -20,5 +20,3 @@ const Breadcrumb = (property: BreadcrumbProperty) => {
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Breadcrumb
|
||||
|
||||
Reference in New Issue
Block a user