Skip to content

Commit 6925e24

Browse files
authored
chore: user dumi (#180)
1 parent d736e19 commit 6925e24

29 files changed

+118
-40
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ dist
2929
es
3030
yarn.lock
3131
package-lock.json
32-
storybook
32+
storybook
33+
# umi
34+
.umi
35+
.umi-production
36+
.umi-test
37+
.env.local

.umirc.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// more config: https://d.umijs.org/config
2+
import { defineConfig } from 'dumi';
3+
4+
export default defineConfig({
5+
title: 'rc-drawer',
6+
favicon:
7+
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
8+
logo:
9+
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
10+
outputPath: '.doc',
11+
exportStatic: {},
12+
styles: [
13+
`
14+
.markdown table {
15+
width: auto !important;
16+
}
17+
`,
18+
]
19+
});
File renamed without changes.

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# rc-drawer
2-
---
32

4-
[![NPM version][npm-image]][npm-url]
5-
[![build status][github-actions-image]][github-actions-url]
6-
[![codecov](https://codecov.io/gh/react-component/drawer/branch/master/graph/badge.svg)](https://codecov.io/gh/react-component/drawer)
7-
[![node version][node-image]][node-url]
8-
[![npm download][download-image]][download-url]
3+
[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![codecov](https://codecov.io/gh/react-component/drawer/branch/master/graph/badge.svg)](https://codecov.io/gh/react-component/drawer) [![node version][node-image]][node-url] [![npm download][download-image]][download-url]
94

105
[npm-image]: http://img.shields.io/npm/v/rc-drawer.svg?style=flat-square
116
[npm-url]: http://npmjs.org/package/rc-drawer

docs/demo/change-remove.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## change-remove
2+
3+
<code src="../examples/change-remove.tsx">

docs/demo/change.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## change
2+
3+
<code src="../examples/change.tsx">

docs/demo/getContainer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## getContainer
2+
3+
<code src="../examples/getContainer.tsx">

docs/demo/level.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## level
2+
3+
<code src="../examples/level.tsx">

docs/demo/multiple.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## multiple
2+
3+
<code src="../examples/multiple.tsx">

docs/demo/no-mask.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## no-mask
2+
3+
<code src="../examples/no-mask.tsx">

0 commit comments

Comments
 (0)