From da48e7f347e2b57041afd64e3509d410fcfaa5be Mon Sep 17 00:00:00 2001 From: drl990114 Date: Sun, 25 Feb 2024 00:03:18 +0800 Subject: [PATCH] docs: github socialLinks --- .dumirc.ts | 3 +++ docs/index.md | 2 ++ src/Tooltip/demo/basic.tsx | 7 +++++++ src/Tooltip/index.md | 17 +++++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 src/Tooltip/demo/basic.tsx create mode 100644 src/Tooltip/index.md diff --git a/.dumirc.ts b/.dumirc.ts index 00f4e53..8017ea5 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -22,6 +22,9 @@ export default defineConfig({ themeConfig: { logo: '/logo.png', lastUpdated: true, + socialLinks: { + github: 'https://github.com/drl990114/zens', + }, footer: 'Open-source MIT Licensed | Copyright © 2024 @drl990114' }, exportStatic: {}, diff --git a/docs/index.md b/docs/index.md index 4bdee11..8f4b14e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,4 +6,6 @@ hero: actions: - text: 快速上手 link: /getting-started + - text: GitHub + link: https://github.com/drl990114/zens --- diff --git a/src/Tooltip/demo/basic.tsx b/src/Tooltip/demo/basic.tsx new file mode 100644 index 0000000..5a6c0cc --- /dev/null +++ b/src/Tooltip/demo/basic.tsx @@ -0,0 +1,7 @@ +import { Button, Tooltip } from 'zens'; + +export default () => ( + + + +); diff --git a/src/Tooltip/index.md b/src/Tooltip/index.md new file mode 100644 index 0000000..ea70182 --- /dev/null +++ b/src/Tooltip/index.md @@ -0,0 +1,17 @@ +--- +title: Tooltip 提示 +nav: + title: 组件 + order: 2 +group: + title: 反馈 + order: 1 +--- + +# Tooltip 提示 + +## 代码演示 + +### 基本用法 + +