mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-12 16:28:48 +08:00
feat: add electron app.
This commit is contained in:
17
website/src/pages/docs/index.tsx
Normal file
17
website/src/pages/docs/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import MarkdownEditor from '@uiw/react-markdown-editor';
|
||||
import styled from 'styled-components';
|
||||
import { markdownString } from '../../store/context';
|
||||
|
||||
const Warpper = styled.div`
|
||||
max-width: 59rem;
|
||||
margin: 0 auto 0 auto;
|
||||
padding: 0 1rem 3rem 1rem;
|
||||
`;
|
||||
|
||||
export const DocsPage = () => {
|
||||
return (
|
||||
<Warpper>
|
||||
<MarkdownEditor.Markdown source={markdownString} />
|
||||
</Warpper>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user