From 3ff7ca4155f5e9f03e2304b33a89de4b0a6aaa2c Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 28 Sep 2025 20:45:18 +0000
Subject: [PATCH] chore(deps): bump sigstore/cosign-installer in the ci-dependencies group (#2135)
---
docs/advanced/creating components.md | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/docs/advanced/creating components.md b/docs/advanced/creating components.md
index 369405b..84e0380 100644
--- a/docs/advanced/creating components.md
+++ b/docs/advanced/creating components.md
@@ -226,9 +226,11 @@
As Quartz components are just functions that return React components, you can compositionally use them in other Quartz components.
```tsx title="quartz/components/AnotherComponent.tsx"
-import YourComponent from "./YourComponent"
+import YourComponentConstructor from "./YourComponent"
export default (() => {
+ const YourComponent = YourComponentConstructor()
+
function AnotherComponent(props: QuartzComponentProps) {
return (
<div>
--
Gitblit v1.10.0