We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038cbd5 commit 73ae1d9Copy full SHA for 73ae1d9
src/content/docs/style-guide/components/details.mdx
@@ -10,4 +10,14 @@ import { Details } from "~/components"
10
<Details header="Open me!">
11
Hello, world!
12
</Details>
13
-```
+```
14
+
15
+You can specify the default configuration of each instance of the `<Details>` component (that is, whether it is open or closed by default).
16
17
+```mdx live
18
+import { Details } from "~/components"
19
20
+<Details header="Close me!" open = {true}>
21
+ Long piece of code example.
22
+</Details>
23
0 commit comments