mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 01:28:38 +02:00
fix(theme-common): allow details to not provide a summary (#7267)
This commit is contained in:
parent
e053f39cf0
commit
41f53718c1
3 changed files with 11 additions and 4 deletions
|
@ -91,7 +91,7 @@ export function Details({
|
|||
// setOpen(false);
|
||||
}
|
||||
}}>
|
||||
{summary}
|
||||
{summary || <summary>Details</summary>}
|
||||
|
||||
<Collapsible
|
||||
lazy={false} // Content might matter for SEO in this case
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue