docs: fix details component + other styling fixes (#5217)
* docs: fix details component * general styling fixes
This commit is contained in:
@@ -15,6 +15,7 @@ export type DetailsSummaryProps = {
|
||||
export const DetailsSummary = ({
|
||||
title,
|
||||
subtitle,
|
||||
children,
|
||||
badge,
|
||||
expandable = true,
|
||||
open = false,
|
||||
@@ -40,7 +41,7 @@ export const DetailsSummary = ({
|
||||
titleClassName
|
||||
)}
|
||||
>
|
||||
{title}
|
||||
{title || children}
|
||||
</span>
|
||||
{subtitle && (
|
||||
<span className="text-compact-medium text-medusa-fg-subtle">
|
||||
|
||||
Reference in New Issue
Block a user