mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-12 00:08:50 +08:00
18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
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>
|
|
);
|
|
};
|