Skip to content

Commit

Permalink
doc: remove demos
Browse files Browse the repository at this point in the history
  • Loading branch information
bowencool committed Nov 20, 2023
1 parent 92765c3 commit 56ced80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 36 deletions.
3 changes: 3 additions & 0 deletions src/createModal/demos/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const Demo: React.FC = () => {
// optional default params
maskClosable: false,
okText: '提交',
maskStyle: {
opacity: 0.8,
},
});
return (
<RootContainer>
Expand Down
28 changes: 0 additions & 28 deletions src/createModal/demos/default-props.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions src/createModal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ group:
src="./demos/context.tsx"
/>

### Default Props

<code
title="Default Props"
src="./demos/default-props.tsx"
desc="You can fill some common props in advance to make your code clearer."
/>

Everything else is the same as [Modal](https://ant.design/components/modal/#header).

## API
Expand Down

0 comments on commit 56ced80

Please sign in to comment.