Skip to content

Commit

Permalink
⚰️ fix: remove demo old api
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Dec 18, 2023
1 parent 136850f commit fd9ff8c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Markdown/demos/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,5 @@ import { Markdown } from '@ant-design/pro-editor';
import { content } from './data';

export default () => {
return (
<Markdown
highlight={{
containerWrapper: true,
}}
>
{content}
</Markdown>
);
return <Markdown>{content}</Markdown>;
};

0 comments on commit fd9ff8c

Please sign in to comment.