创建文档: 第一个app文档 有代码 有图片
35
%E7%AC%AC%E4%B8%80%E4%B8%AAapp%E6%96%87%E6%A1%A3-%E6%9C%89%E4%BB%A3%E7%A0%81-%E6%9C%89%E5%9B%BE%E7%89%87.md
Normal file
35
%E7%AC%AC%E4%B8%80%E4%B8%AAapp%E6%96%87%E6%A1%A3-%E6%9C%89%E4%BB%A3%E7%A0%81-%E6%9C%89%E5%9B%BE%E7%89%87.md
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
```ts
|
||||
import ForwardedIconComponent from "@/components/common/genericIconComponent";
|
||||
import MarkdownPreview from "@/components/common/MonacoEditor/MarkdownPreview";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card } from "@/components/ui/card";
|
||||
import {
|
||||
useDeleteWikiPage,
|
||||
useGetWikiPage,
|
||||
useGetWikiPages,
|
||||
} from "@/controllers/API/queries/repository";
|
||||
import DeleteConfirmationModal from "@/modals/deleteConfirmationModal";
|
||||
import useAlertStore from "@/stores/alertStore";
|
||||
import { useRepositoryStore } from "@/stores/repositoryStore";
|
||||
import { Loader2 } from "lucide-react";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { useNavigate, useParams } from "react-router-dom";
|
||||
|
||||
interface WikiPage {
|
||||
slug: string;
|
||||
title: string;
|
||||
content: string;
|
||||
updated_at: string;
|
||||
author: string;
|
||||
}
|
||||
```
|
||||
|
||||
| Head | Head | Head | Head | Head | Head |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| Data | Data | Data | Data | Data | Data |
|
||||
| Data | Data | Data | Data | Data | Data |
|
||||
| Data | Data | Data | Data | Data | Data |
|
||||
| Data | Data | Data | Data | Data | Data |
|
||||
|
||||

|
||||
Reference in New Issue
Block a user