mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-05 01:25:46 +00:00
Add subscription and community components (#47)
Close #46 Same as those in [blog](https://gitea.com/gitea/blog/pulls/272), but for docs and api Ejected DocPage (unsafe to eject) and ApiDoc (safe to eject) for layout changes  Screenshots  Co-authored-by: techknowlogick <[email protected]> Co-authored-by: techknowlogick <[email protected]> Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/47 Co-authored-by: HesterG <[email protected]> Co-committed-by: HesterG <[email protected]>
This commit is contained in:
1 parent
c77d0e0e34
commit
02b0ebc9e1
22 files changed
+699
-3
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { cloneElement } from "react";
|
||||
|
||||
const SvgImage = ({ image, title = "" }) =>
|
||||
cloneElement(image, {
|
||||
...image.props,
|
||||
title,
|
||||
})
|
||||
|
||||
export default SvgImage
|
||||
Reference in new issue
Block a user